Skip to content

Releases: maplibre/maplibre-gl-js

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

v4.1.1

16 Mar 05:55
44b582e
Compare
Choose a tag to compare

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

✨ Features and improvements

  • Improve animation curve when easeTo and flyTo with constraints (#3793)

🐞 Bug fixes

  • Fix unwanted zoom changes at the end of a panning motion (#2094)

v4.1.0

01 Mar 09:41
adc7f17
Compare
Choose a tag to compare

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

✨ Features and improvements

  • Add option to position popup at subpixel coordinates to allow for smooth animations (#3710)
  • Constrain horizontal panning when renderWorldCopies is set to false (3738)

🐞 Bug fixes

  • Fix popup appearing far from marker that was moved to a side globe (3712)
  • Set text color to ensure contrast in the attribution pill (3737)
  • Fix memory leak in Worker when map is removed (3734)
  • Fix issue with FullscreenControl when MapLibre is within a ShadowRoot (#3573)

v4.0.2

19 Feb 10:08
780eb7f
Compare
Choose a tag to compare

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

🐞 Bug fixes

  • Fix Style.setState ignoring validate flag (#3709)
  • Fix marker flying off near horizon (3704)