Releases: mapbox/mapbox-gl-js
Releases · mapbox/mapbox-gl-js
v2.9.2
v2.9.1
v2.9.0
Features ✨
- Add
globe
projection. This new projection displays the map as a 3d globe and can be enabled by either passingprojection: globe
to the map constructor or by callingmap.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
andstar-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 overline-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 maparia-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]
Features ✨
- Extend atmospheric
fog
with three new style specification properties:high-color
,space-color
andstar-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 overline-gradient
. (#11570)
🐞 Bug fixes
- Add
source
field requirement to terrain exaggeration in the style specification. (#11664)
v2.9.0-beta.2
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]
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
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]
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]>