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)