MapLibre GL JS v0.51.0 Release Notes

  • November 7, 2018

    โœจ 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)