Skip to content

Releases: maplibre/maplibre-gl-js

v5.7.0

25 Aug 07:47
6d02b8f

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.2:

✨ Features and improvements

  • Pass document's lang to Tiny-SDF to render Simplified and Traditional Chinese characters (#6223)
  • Enable global-state expressions in layout properties (#6209)
  • Align typescript types generation with docs generation and avoid exporting non-exported types (#6217)
  • Add coveringTiles method to the public API of the map object (#6292)

🐞 Bug fixes

  • Prevent original input style JSON from being mutated by Style.set* methods (#6216)
  • Fix evaluating global-state in paint properties with other subexpressions (#6048)
  • Fix enabling terrain while transitioning (#6011)

v5.6.2

06 Aug 13:52
7887f2c

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.1:

🐞 Bug fixes

  • Fix white artifacts when using non-zero elevation (#6032)
  • Fix geolocate control lock loss on window resize and zoom (#3504)
  • Fix a memory leak in GeoJSONSource when rapidly updating data (#6163)
  • Fix Map.setTransformRequest parameter type to include null (#6179)
  • Fix typo _rotatePitchHandler in the navigation_control.ts file (#6207)

v5.6.1

02 Jul 07:52
1a8ef7f

Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v5.6.0:

🐞 Bug fixes

  • Fix use of textureSize call in color relief shader (#5980)
  • Fix Y axis transformation in projectFromLabelPlaneToClipSpace (#6021)
  • Alpha-sort all examples (#6049)
  • Ensure opacity is reset for popups when locationOccludedOpacity no longer applicable (#6088)

v5.6.0

03 Jun 21:16
b3e282b

Choose a tag to compare

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

✨ Features and improvements

  • Add setGlobalStateProperty() and getGlobalState() to the map public API (#5613)
  • Improve tile frustum culling for globe, leading to better performance and faster loading times. (#5865)
  • Add new color-relief layer type to render hypsometric tint from terrain-RGB tiles. (#5742)

🐞 Bug fixes

  • Fix queryRenderedFeatures bounding box crossing antimeridian in globe view. (#5856)
  • Fix handling invalid glyph placement results along lines (#5118)
  • Fix refreshTiles() for vector tiles (#5875)
  • Revert changes to polygon intersection detection (#5590 caused issue 5864)
  • Fix breaking clusters when non-integer value provided for clusterMaxZoom (warning is shown) (#5929) + clarify API docs

v5.5.0

06 May 13:10
34b95c0

Choose a tag to compare

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

✨ Features and improvements

  • Add additional hillshade methods (#5768)
  • Add refreshTiles() to the map public API (#5806)
  • Disable geolocate control button when permission is denied and trackUserLocation is off (#5824)
  • ... Add new stuff here...

🐞 Bug fixes

  • Fix scroll min zoom on globe view (#5775)
  • ⚠️ Fix hillshade appearance change between 256x256 and 512x512 tiles. This will change the appearance of hillshade layers using 512x512 tiles. (#5768)
  • Fix tile expiry logic for raster and raster-dem tiles (#5798)
  • Fix opacityWhenCovered not working to hide the marker behind the globe if terrain is enabled. (#5838)
  • Fix transparent vector tiles sometimes showing geometry beyond tile borders when terrain is active (#5746)

v5.4.0

21 Apr 12:11
6ed25c0

Choose a tag to compare

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

✨ Features and improvements

  • Add tile LOD control to the public API (#5719)

🐞 Bug fixes

  • Fix queryRenderedFeatures on globe view when crossing international date line (#5765)
  • Fix globe unproject to clamp points to horizon (#5771)
  • Fix marker drag Coordinates give Longitude off by ±360° with Globe (#5473)

v5.3.1

15 Apr 08:13
b90b28d

Choose a tag to compare

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

🐞 Bug fixes

  • Only add aria-label on the Marker's element if it does not already has one (#5298)
  • The state of glPixelStore is now properly cleaned after texture updates to avoid glTexSubImage2D calls made on the same gl context acting differently at random (#5730)
  • Fixes an issue with popup close button not working (#5754)

v5.3.0

26 Mar 19:17
a642ef4

Choose a tag to compare

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

✨ Features and improvements

  • Added getBounds to GeoJSON source to allow getting the boundaries of the data in it (#5575)
  • Add a check for MouseEvent, to avoid errors when bot were crawling on website using Event instance instead of MouseEvent instance for types like mouseover, mouseout etc.. (#5466).

🐞 Bug fixes

  • Fix intersection detection between MultiPolygons and Points (#5590)
  • Fix issue with image rendered partially on terrain tiles (#1559).
  • Fix circle layer hitbox in Globe projection mode (#5599)
  • Fix excessive attribution control rerendering (#5673)

v5.2.0

03 Mar 15:07
c238479

Choose a tag to compare

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

✨ Features and improvements

  • Allow opacity to be set when location becomes invisible in the globe projection. (#5532)

🐞 Bug fixes

  • Fix AbortController signal listener memory leak in frameAsync and sendAsync. (#5561)
  • Remove closeButton event listener on popup.remove(). (#5564)
  • Add missing GeoJSONFeature type to library export as it is exposed by querySourceFeatures (#5567)

v5.1.1

21 Feb 11:15
b52cb12

Choose a tag to compare

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

✨ Features and improvements

  • Avoid setting marker opacity twice. (#5441)

🐞 Bug fixes

  • Fix how padding is applied when using flyTo() with Globe (#5406)
  • Fix URL hash validation to support bearing range -180 to 180 (#5461)
  • Fix variable zoom tile calculation when padding is set (#5486)
  • Fix rendering Japanese symbols which are accidentally ignored. (#5421