Skip to content
Wysp Docs

Maps

Mapbox has a concept of “light presets” which are pre-defined styles for different times of day (day, dusk, night). You can use the lightPreset prop to specify a light preset for the map. If no light preset is provided, the map will automatically detect the theme and use the appropriate light preset. The default light preset is auto, which will use the light preset that is appropriate for the theme.

When no light preset is provided, the map will automatically detect the theme and use the appropriate light preset.