Skip to content

spatial-monorepo


spatial-monorepo / core/src / useSpatialMap

Function: useSpatialMap()

useSpatialMap(): Map$1 | null

Defined in: packages/core/src/SpatialMap.tsx:781

Returns the current MapLibre Map instance, or null if the map has not yet loaded (or no SpatialMap is mounted in the tree).

Returns

Map$1 | null

Released under commercial licensing.