github mapbox/mapbox-gl-js v2.8.0

latest releases: v3.8.0, style-spec@14.8.0, v3.8.0-beta.1...
2 years ago

Performance improvements 🏁

  • Improve memory usage by freeing memory more eagerly after loading tiles. (#11434)
  • Improve memory usage by reducing repeated line labels on overscaled tiles. (#11414)
  • Improve performance when placing many symbols on terrain. (#11466)

Bug fixes 🐞

  • Fix map.fitBounds(), map.fitScreenCoordinates(), and map.cameraForBounds() incorrectly matching bounds with non-zero bearing. (#11568) (h/t TannerPerrien)
  • Improve control button appearance by applying border-radius more consistently. (#11423) (h/t nagix)
  • Fix ScaleControl displaying incorrect units with some projections.(#11657)
  • Fix performance regression when animating image sources. (#11564)
  • Fix MapDataEvent.isSourceLoaded() to check if specific source has loaded. (#11393)
  • Fix map not wrapping after moving the map with no inertia. (#11448)
  • Fix popup not removing event listeners when closeOnClick:true. (#11540)
  • Fix camera occasionally intersecting terrain when DEM data loads while zooming. (#11461, #11578)
  • Increase clarity of line layers with the terrain on high DPI devices. (#11531)
  • Fix canvas size if more than one parent container has a transform CSS property. (#11493)
  • Fix error on calling map.removeImage() on animated image. (#11580)
  • Fix occasional issue with fill-extrusion layers not rendering on tile borders when used with terrain. (#11530)

Workflow 🛠️

  • Upgrade Flow from v0.108.0 to v0.142.0 and enable type-first mode, greatly improving performance of type-checking. (#11426)

Don't miss a new mapbox-gl-js release

NewReleases is sending notifications on new releases.