Skip to content

v0.51.0

Compare
Choose a tag to compare
@asheemmamoowala asheemmamoowala released this 07 Nov 23:45

✨ Features and improvements

  • Add initial bounds as map constructor option (#5518) (h/t stepankuzmin)
  • Improve performance on machines with > 8 cores (#7407, fixed by #7430)
  • Add MercatorCoordinate type (#7488)
  • Allow browser-native contextmenu to be enabled (#2301, fixed by #7369)
  • Add an unminified production build to the NPM package (#7403)
  • Add support for LngLat conversion from {lat, lon} (#7507) (h/t bfrengley)
  • Add tooltips for navigation controls (#7373)
  • Show attribution only for used sources (#7384)
  • Add telemetry event to log map loads (#7431)
  • Tighten style validation
    • Disallow expressions as stop values (#7396)
    • Disallow feature-state expressions in filters (#7366)

🐛 Bug fixes

  • Fix for GeoJSON geometries not working when coincident with tile boundaries(#7436, fixed by #7448)
  • Fix depth buffer-related rendering issues on some Android devices. (#7471)
  • Fix positioning of compact attribution strings (#7444, #7445, and #7391)
  • Fix an issue with removing markers in mouse event callbacks (#7442) (h/t vbud)
  • Remove controls before destroying a map (#7479)
  • Fix display of Scale control values < 1 (#7469) (h/t MichaelHedman)
  • Fix an error when using location hash within iframes in IE11 (#7411)
  • Fix depth mode usage in custom layers (#7432) (h/t markusjohnsson)
  • Fix an issue with shaky sprite images during scroll zooms (#7558)