@sqlrooms/kepler / KeplerSliceState
Type Alias: KeplerSliceState
KeplerSliceState =
object
Properties
kepler
kepler:
object
| Name | Type | Description |
|---|---|---|
config | KeplerSliceConfig | - |
map | KeplerGlReduxState | - |
basicKeplerProps? | Partial<KeplerGLBasicProps> | - |
forwardDispatch | {[mapId: string]: Dispatch<AnyAction>; } | - |
initialize() | () => Promise<void> | - |
setConfig() | (config) => void | - |
syncKeplerDatasets() | () => Promise<void> | Update the datasets in all the kepler map so that they correspond to the latest table schemas in the database |
addLayer() | (mapId, layer, datasetId) => void | - |
addTableToMap() | (mapId, tableName, options?) => Promise<void> | - |
addTileSetToMap() | (mapId, tableName, tileset, tileMetadata) => void | - |
addConfigToMap() | (mapId, config) => void | - |
removeDatasetFromMaps() | (datasetId) => void | - |
dispatchAction() | (mapId, action) => void | - |
setCurrentMapId() | (mapId) => void | - |
createMap() | (name?) => string | Create a new map and return the map id |
deleteMap() | (mapId) => void | - |
renameMap() | (mapId, name) => void | - |
closeMap() | (mapId) => void | - |
setOpenTabs() | (tabIds) => void | - |
getCurrentMap() | () => KeplerMapSchema | undefined | - |
registerKeplerMapIfNotExists() | (mapId) => void | - |
__reduxProviderStore | ReduxStore<KeplerGlReduxState, AnyAction> | undefined | - |
