Skip to content

spatial-monorepo


spatial-monorepo / deckgl-bridge/src / getOrCreateOverlay

Function: getOrCreateOverlay()

getOrCreateOverlay(map): DeckGLOverlayHandle

Defined in: packages/deckgl-bridge/src/index.ts:226

Returns (or creates) the DeckGLOverlayHandle for a given map instance. Calling with the same map reference always returns the same handle.

Parameters

map

MapLibreMapLike | null | undefined

Returns

DeckGLOverlayHandle

Released under commercial licensing.