Skip to content

Releases: mapbox/mapbox-gl-js

v2.9.2

14 Jul 22:04
e29e113
Compare
Choose a tag to compare

Bug fixes 🐞

  • Add a workaround in ScaleControl to support localization in browsers without NumberFormat support. (#12068)
  • Fix GeolocateControl not working in Safari. (#12080)

v2.9.1

20 Jun 19:59
b13b0ae
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fix missing lines on some Windows devices. (#12017)

v2.9.0

17 Jun 23:46
9fc5327
Compare
Choose a tag to compare

Features ✨

  • Add globe projection. This new projection displays the map as a 3d globe and can be enabled by either passing projection: globe to the map constructor or by calling map.setProjection('globe'). All layers are supported by globe except for Custom Layers and Sky.
  • Extend atmospheric fog with three new style specification properties: high-color, space-color and star-intensity to allow the design of atmosphere around the globe and night skies. (#11590)
  • Add a new line layer paint property in the style specification: line-trim-offset that can be used to create a custom fade out with improved update performance over line-gradient. (#11570)
  • Add an option for providing a geolocation adapter to GeolocateControl. (#10400) (h/t behnammodi)
  • Add Map.Title property to locale options to localise the map aria-label. (#11549) (h/t andrewharvey)
  • Allow duplicated coordinates in tile request URLs. (#11441) (h/t ozero)

Bug fixes 🐞

  • Fix an issue which causes line layers to occasionally flicker. (#11848)
  • Fix markers in fog sometimes becoming more visible when behind terrain. (#11658)
  • Fix an issue where setting terrain exageration to 0 could prevent the zoom to be resolved. (#11830)
  • Copy stylesheet to allow toggling different styles using setStyle without overwriting some of the properties. (#11942)

[email protected]

17 Jun 23:45
9fc5327
Compare
Choose a tag to compare

Features ✨

  • Extend atmospheric fog with three new style specification properties: high-color, space-color and star-intensity to allow the design of atmosphere around the globe and night skies. (#11590)
  • Add a new line layer paint property in the style specification: line-trim-offset that can be used to create a custom fade out with improved update performance over line-gradient. (#11570)

🐞 Bug fixes

  • Add source field requirement to terrain exaggeration in the style specification. (#11664)

v2.9.0-beta.2

08 Jun 23:23
efadd30
Compare
Choose a tag to compare
v2.9.0-beta.2 Pre-release
Pre-release
Updates for v2.9.0-beta.2 (#11970)

* beta.2

* Reload tiles after TileJSON is loaded in VectorTileSource#setSourceProperty (#11963)

* Reload tiles after TileJSON is loaded in setSourceProperty

* add more i18n tests

* drop the language validation

* mark i18n API as private

* update s3 link to lower res video (#11965)

Co-authored-by: Stepan Kuzmin <[email protected]>
Co-authored-by: Anna Peery <[email protected]>

[email protected]

08 Jun 23:23
efadd30
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
Updates for v2.9.0-beta.2 (#11970)

* beta.2

* Reload tiles after TileJSON is loaded in VectorTileSource#setSourceProperty (#11963)

* Reload tiles after TileJSON is loaded in setSourceProperty

* add more i18n tests

* drop the language validation

* mark i18n API as private

* update s3 link to lower res video (#11965)

Co-authored-by: Stepan Kuzmin <[email protected]>
Co-authored-by: Anna Peery <[email protected]>

v2.9.0-beta.1

13 May 18:57
3758092
Compare
Choose a tag to compare
v2.9.0-beta.1 Pre-release
Pre-release
Changelog v2.9.0-beta.1 (#11893)

* Changelog v2.9.0

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Review updates

* Review updates

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Update src/style-spec/CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

[email protected]

13 May 18:56
3758092
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
Changelog v2.9.0-beta.1 (#11893)

* Changelog v2.9.0

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Review updates

* Review updates

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Update src/style-spec/CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

v2.8.2

22 Apr 21:21
5db490a
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fix an issue where the special bundle for CSP-restricted environments was not compatible with further minification in some bundling setups. (#11790)

v2.8.1

13 Apr 20:50
0071ce7
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fix the special bundle for CSP-restricted environments that broke in the 2.8.0 release. (#11739)