Mapbox Standard v3: 3D Landmarks
Exploring new Mapbox 3D capabilities via a virtual tour of Sydney.
📍
Sydney Tower Eye
151.2089,-33.8704
Loading map ...
About the Mapbox v3 release
The v3 migration guide outlines key changes and new features. Key changes below.
💡 There are now four lighting presets out of the box:
day
dusk
dawn
night
js
map.setConfigProperty('basemap', 'lightPreset', 'dusk')
⚙️ Rather than fiddling with layer properties directly, there are six new global config properties to make life easier:
showPlaceLabels
showRoadLabels
showPointOfInterestLabels
showTransitLabels
lightPreset
font
js
map.setConfigProperty('basemap', 'showPointOfInterestLabels', false)
🥞 When adding a custom layer, the
before
slot
Slot | Description |
---|---|
bottom
|
Above polygons (land, landuse, water, etc.) |
middle
|
Above lines (roads, etc.) and behind 3D buildings |
top
|
Above all existing layers in the style |
js
map.addLayer({
id: 'points-of-interest',
slot: 'middle',
...
})