Releases: maplibre/maplibre-gl-js
v4.4.0
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 withMap.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 whensymbol-placement
isline
orline-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
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
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
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
andicon-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 correcticon-translate
(#4071)
v4.2.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.1.3:
✨ Features and improvements
v4.1.3
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
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
v4.1.1
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
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
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.0.1: