mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Resetting ambient/directional lights to standard style after setLights

Open MichaelDanielTom opened this issue 6 months ago • 0 comments

New Feature/Question

Is there any way to reset the lighting to the standard style presets after setting them to custom ambient/directional lights? While using the standard style, if you setting the lights like: try mapView.mapboxMap.setLights(ambient: ambientLight, directional: directionalLight) Is there any way to remove these custom lights and have the lighting revert back to what the standard style has (dawn/day/dusk/night)?

Alternatively, it would be nice to be able to either control the lights that the standard style adds, since they don't appear in the lights identifier list, or to be able to see the actual values of the directional/ambient lights for each preset so we could use them in our own lighting/transitions.

MichaelDanielTom avatar Dec 08 '23 22:12 MichaelDanielTom