@sqlrooms/deck / DeckJsonMapProps
Type Alias: DeckJsonMapProps
DeckJsonMapProps =
object
Properties
spec
spec:
string|Record<string,unknown>
datasets
datasets:
Record<string,DeckDatasetInput>
mapStyle?
optionalmapStyle?:string
interleaved?
optionalinterleaved?:boolean
When true, deck.gl renders into the map's own WebGL context rather than creating a separate overlay canvas. This halves the number of WebGL contexts per map panel (from 2 to 1), which matters because browsers limit active contexts to ~8–16 per page. Defaults to true.
deckProps?
optionaldeckProps?:Partial<DeckProps>
mapProps?
optionalmapProps?:Partial<MapProps>
showLegends?
optionalshowLegends?:boolean
className?
optionalclassName?:string
children?
optionalchildren?:ReactNode
onDatasetStatesChange?
optionalonDatasetStatesChange?: (states) =>void
Parameters
| Parameter | Type |
|---|---|
states | Record<string, PreparedDeckDatasetState> |
Returns
void
onRenderingError?
optionalonRenderingError?: (error) =>void
Parameters
| Parameter | Type |
|---|---|
error | Error |
Returns
void
