Show/Hidde 3d objects in standard map
How can I show and hide 3d objects on the map like in mapboxgl?
setConfigProperty('basemap', 'show3dObjects', false)
I have a related question, I'd like to turn off only certain types of 3D objects (specifically airplane objects at an airport)
Hi @daviidmart, for the Standard style you can hide 3d objects by setting show3dObjects to false:
mapboxMap.style.setStyleImportConfigProperty("basemap", "show3dObjects", false);
You can find more configuration properties for the Mapbox Standard style here: https://docs.mapbox.com/mapbox-gl-js/guides/styles/#mapbox-standard-1
@grantleemw Currently there is no configuration to remove only a specific types of 3D objects, however you can use ClipLayer to hide some specific 3D objects.