Skip to content

spatial-monorepo


spatial-monorepo / core/src / updateFootwayLayer

Function: updateFootwayLayer()

updateFootwayLayer(map, features): void

Defined in: packages/core/src/layers/footwayLayer.ts:72

Update the footway source data without recreating the layer. No-op if the source does not exist yet.

Parameters

map

Map$1 | null | undefined

features

Feature`<Geometry, GeoJsonProperties>`[]

Returns

void

Released under commercial licensing.