Skip to content

spatial-monorepo


spatial-monorepo / ui/src / addPOISymbolLayer

Function: addPOISymbolLayer()

addPOISymbolLayer(map, features, _spriteUrl): void

Defined in: packages/ui/src/layers/POISymbolLayer.ts:118

Adds the POI symbol layer to the map.

Parameters

map

Map$1

MapLibre map instance.

features

POIFeatureCollection

GeoJSON FeatureCollection (may include non-POI features).

_spriteUrl

string

Returns

void

Released under commercial licensing.