@sqlrooms/deck / resolveDeckMapStyle
Function: resolveDeckMapStyle()
resolveDeckMapStyle(
options):DeckMapStyle
Resolves explicit styles, a basemap provider, host defaults, then the fallback.
Parameters
| Parameter | Type |
|---|---|
options | { mapStyle?: string; mapPropsMapStyle?: string | StyleSpecification | ImmutableLike<StyleSpecification>; basemapProvider?: DeckMapBasemapProvider; hostDefaultStyles?: Partial<Record<ResolvedTheme, DeckMapStyle>>; resolvedTheme: ResolvedTheme; fallbackStyles: Record<ResolvedTheme, DeckMapStyle>; } |
options.mapStyle? | string |
options.mapPropsMapStyle? | string | StyleSpecification | ImmutableLike<StyleSpecification> |
options.basemapProvider? | DeckMapBasemapProvider |
options.hostDefaultStyles? | Partial<Record<ResolvedTheme, DeckMapStyle>> |
options.resolvedTheme | ResolvedTheme |
options.fallbackStyles | Record<ResolvedTheme, DeckMapStyle> |