Skip to content

Releases: maplibre/maplibre-gl-js

v4.5.1

01 Aug 20:12
d9e75d2
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.0:

✨ Features and improvements

  • Allow trackpad pinch gestures to break through the cooperativeGestures setting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465)
  • Expose projection matrix parameters (#3136)
  • Add option to position markers at subpixel coordinates to prevent markers jumping on moveend (#4458)

🐞 Bug fixes

  • Fix lag on fast map zoom (#4366)
  • Fix unguarded read access to possibly undefined object (#4431)
  • Fix remove hash string when map is removed (#4427)
  • Fix GeolocateControl may be added twice when calling addControl/removeControl/addControl rapidly (#4454)
  • Fix style.loadURL abort error being logged when removing style (#4425)
  • Fix vector tiles not loading when html is opened via "resource://android" (i.e., the assets folder) in GeckoView on Android (#4451)

v4.5.0

27 Jun 07:41
eb2d150
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.1:

✨ Features and improvements

  • Add sky implementation according to spec (#3645)

🐞 Bug fixes

  • Fix (de)serialization of extends of built-ins (currently only AjaxError) not working correctly in web_worker_transfer. Also refactored related web_worker_transfer code and added more tests (#4024)

v4.4.1

17 Jun 16:19
863541f
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.0:

🐞 Bug fixes

  • Fix terrain listener memory leak when adding and removing Marker (#4284)

v4.4.0

14 Jun 15:24
9b139a8
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.3.2:

✨ Features and improvements

  • Improve animation curve when easeTo and flyTo with constraints (#3793)
  • For filled extrusions, calculate the elevation per polygon (#3313)
  • Add events to GeolocateControl to allow a more granular interaction (#3847)
  • Make MapOptions.style optional to be consistent with Map.setStyle(null) (#4151)
  • Use Autoprefixer to handle vendor prefixes in CSS (#4165)
  • Make aria-label configurable for Map, Marker and Popup (#4147)
  • Map <canvas> is focusable only when interactive (#4147)
  • "Accept" headers set in Request Transformers are not overwritten (#4210)
  • ⚠️ Rename projMatrix to modelViewProjectionMatrix. Also rename invProjMatrix, alignedProjMatrix accordingly (#4215)
  • Publish an unminified prod build (#4265)

🐞 Bug fixes

  • ⚠️ Allow breaking lines in labels before a left parenthesis (#4138)
  • ⚠️ Fix ignoring embedded line breaks when symbol-placement is line or line-center (#4124)
  • Ensure loseContext exists before calling it (#4245)
  • Update deprecated -ms-high-contrast vendor prefix to (forced-colors: active) and (prefers-color-scheme: light) as appropriate (#4250)

v4.3.2

19 May 09:36
0a04d2a
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.3.1:

🐞 Bug fixes

  • Fix an issue with moveend zoom being different than the actual current zoom (#4132)

v4.3.1

16 May 20:11
0b4688b
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.3.0:

🐞 Bug fixes

  • Fix drift in zoom that may happen during flyTo and easeTo due to freezeElevation logic. (#3878)

v4.3.0

15 May 11:42
aaeaf58
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.2.0:

✨ Features and improvements

  • Add getData method for GeoJSON Sources to provide the possibility to obtain all the source's features (#4082)
  • Allow cross-fading between raster tile source updates at the same zoom level (#4072)

🐞 Bug fixes

  • Fix normalizeSpriteURL before transformRequest throwing an Error with relative URLs (#3897)
  • Fix return type of map.cameraForBounds (#3760)
  • Fix to run benchmark with MAPLIBRE_STYLES environment variable (#2122)
  • Fix symbol collisions using inaccurate and sometimes entirely wrong collision boxes when the map is pitched or rotated (#210)
  • Fix text-translate and icon-translate behaving weirdly and inconsistently with other -translate properties (#3456)
  • Fix symbol collision debug view (showCollisionBoxes) not showing the actual bounding boxes used for collision and click areas. The displayed boxes now match actual collision boxes exactly (#4071)
  • Fix symbol collision boxes not being accurate for variable-anchor symbols (#4071)
  • Fix icon collision boxes using text-translate property for translation instead of the correct icon-translate (#4071)

v4.2.0

05 May 06:16
5086ec2
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.1.3:

✨ Features and improvements

  • Update Popup's methods addClass and removeClass to return an instance of Popup (#3975)
  • New map option to decide whether to cancel previous pending tiles while zooming in (#4051)
  • Sprites include optional textFitHeight and textFitWidth values (#4019)
  • Add support for distance expression (#4076)

v4.1.3

17 Apr 07:15
0502606
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.1.2:

✨ Features and improvements

  • Added const enum for actor messages to improve readability and maintainability. In tsconfig.json, isolatedModules flag is set to false in favor of generated JS size. (#3879)

🐞 Bug fixes

  • Fix different unwanted panning changes at the end of a panning motion, that happen on a large screen (#3935)
  • Fix image sources not being marked as loaded on error (#3981)
  • Fix ScaleControl options should be optional. (#4002)
  • Fix race condition in SourceCache that makes unit tests unstable. Eliminate a redundant 'visibility' event fired from Style class. (#3992)
  • Fix paint property not being updated by setPaintProperty (#2651)

v4.1.2

26 Mar 22:50
27d9c86
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.1.1:

✨ Features and improvements

  • Hide Popup when its parent Marker is behind terrain (#3865)

🐞 Bug fixes

  • Fix type definition on localIdeographFontFamily (#3896)
  • Fix unwanted panning changes at the end of a panning motion (#3872)
  • Fix close events being fired for popups that aren't open