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>-
destroy()() => 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-
addFilter()(mapId, datasetId) => void-
setFilter()(mapId, filterIdx, prop, value, valueIndex?) => void-
setFilterAnimationTime()(mapId, filterIdx, prop, value) => void-
setFilterAnimationWindow()(mapId, filterId, animationWindow) => void-
setFilterView()(mapId, filterIdx, view) => void-
updateTooltipFields()(mapId, datasetId, fieldNames) => void-
toggleSplitMap()(mapId, index?) => void-
toggleLayerForMap()(mapId, mapIndex, layerId) => void-
addTableToMap()(mapId, tableName, options?, config?) => Promise<void>-
addTileSetToMap()(mapId, tableName, tileset, tileMetadata, autoCreateLayers) => void-
addConfigToMap()(mapId, config) => void-
removeDatasetFromMaps()(datasetId) => void-
dispatchAction()(mapId, action) => void-
ensureMap()(mapId, name?) => void-
createMap()(name?, options?) => stringCreate a new map and return the map id
deleteMap()(mapId) => void-
duplicateMap()(mapId) => Promise<{ success: boolean; message?: string; code?: string; }>-
renameMap()(mapId, name) => void-
registerKeplerMapIfNotExists()(mapId) => void-
__reduxProviderStoreReduxStore<KeplerGlReduxState, AnyAction> | undefined-