Releases: maplibre/maplibre-gl-js
v5.0.0-pre.2
Changes since MapLibre GL JS v5.0.0-pre.1:
✨ Features and improvements
- Improve performance of
queryRenderedFeatures
by using JavaScriptSet
s to assess layer membership internally (#4777)
🐞 Bug fixes
- Fix a memory leak due to missing removal of event listener registration (#4824)
- Improve symbol collision performance for both mercator and globe projections (#4778)
- Fix bad line scaling near the poles under globe projection (#4778)
- Fix globe loading many tiles at an unnecessarily high zoom level when the camera is pitched (#4778)
Pre-release version
v5.0.0-pre.1
Changes since MapLibre GL JS v4.7.1:
✨ Features and improvements
- Support globe mode (#3963)
- Merge atmosphere an sky implementation (#3888)
- Add option to display a realistic atmosphere when using a Globe projection (#3888)
Pre-release version
v4.7.1
/~https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.7.0:
🐞 Bug fixes
v4.7.0
/~https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.6.0:
✨ Features and improvements
- Support multiple layers in
map.on
,map.once
andmap.off
methods (#4570) - Ensure GeoJSON cluster sources emit a console warning if
maxzoom
is less than or equal toclusterMaxZoom
since in this case you may see unexpected results. (#4604)
🐞 Bug fixes
- Heatmap Fix for 3D terrain (#4571)
- Fix Map#off to not remove listener with layer(s) registered with Map#once (#4592)
- Improve types a bit for
addSource
andgetSource
(#4616) - Fix the color near the horizon when terrain is enabled without any sky (#4607)
- Fix bug where
fitBounds
andcameraForBounds
would not display across the 180th meridian (antimeridian) - Fix white flickering on map resize (#4158)
- Fixed a performance regression related to symbol placement (#4599)
- Fix a bug where cloning a Transform instance didn't include the
lngRange
. This caused a bug where
usingtransformCameraUpdate
caused themaxBounds
to stop working just for east/west bounds. (#4625)
v4.6.0
/~https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.2:
✨ Features and improvements
- Prefer local glyph rendering for all CJKV characters, not just those in the CJK Unified Ideographs, Hiragana, Katakana, and Hangul Syllables blocks. (#4560))
🐞 Bug fixes
- Fix right-to-left layout of labels that contain characters in the Arabic Extended-B code block. (#4536)
- Fix 3D map freezing when camera is adjusted against map bounds. (#4537)
- Fix
getStyle()
to return a clone so the object cannot be internally changed (#4488) - Fix issues with setting sky to
undefined
(#4587))
v4.5.2
/~https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.1:
✨ Features and improvements
- Emit events when the cooperative gestures option has prevented a gesture. (#4470)
- Enable anisotropic filtering only when the pitch is greater than 20 degrees to preserve image sharpness on flat or slightly tilted maps.
🐞 Bug fixes
- Fix camera being able to move into 3D terrain (#1542)
v4.5.1
/~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
/~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
/~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
/~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)