@sqlrooms/kepler / CreateKeplerSliceOptions
Type Alias: CreateKeplerSliceOptions
CreateKeplerSliceOptions =
object
Properties
config?
optionalconfig:Partial<KeplerSliceConfig>
createInitialMapKeplerState()?
optionalcreateInitialMapKeplerState: (context) =>Partial<KeplerGlState>
Parameters
| Parameter | Type |
|---|---|
context | CreateInitialMapKeplerStateContext |
Returns
Partial<KeplerGlState>
basicKeplerProps?
optionalbasicKeplerProps:Partial<KeplerGLBasicProps>
actionLogging?
optionalactionLogging:boolean|ReduxLoggerOptions
middlewares?
optionalmiddlewares:Middleware[]
applicationConfig?
optionalapplicationConfig:KeplerApplicationConfig
onAction()?
optionalonAction: (mapId,action) =>void
Called when a kepler action is dispatched
Parameters
| Parameter | Type | Description |
|---|---|---|
mapId | string | The map id |
action | KeplerAction | The action |
Returns
void
