Skip to content

@sqlrooms/kepler / KeplerSliceState

Type Alias: KeplerSliceState

KeplerSliceState = object

Properties

kepler

kepler: object

NameTypeDescription
configKeplerSliceConfig-
mapKeplerGlReduxState-
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?) => stringCreate 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-
__reduxProviderStoreReduxStore<KeplerGlReduxState, AnyAction> | undefined-