Function: useMapData()
useMapData(
mapDataId):UseMapDataResult|undefined
Defined in: react/hooks.ts:350
Returns the indexed dataset entry for mapDataId, or undefined if
the spec has no matching mapData[] entry. Re-renders when the spec
changes (including via applyPatch).
Must be used inside a GeoVisProvider.
Parameters
| Parameter | Type |
|---|---|
mapDataId | string |
Returns
UseMapDataResult | undefined