Skip to content

spatial-monorepo


spatial-monorepo / editor/src / updateDoorSwingLayer

Function: updateDoorSwingLayer()

updateDoorSwingLayer(map, features): void

Defined in: packages/editor/src/layers/doorSwingLayer.ts:164

Update door-swing layer data without tearing down the source/layer. No-op when the source has not been added yet.

Parameters

map

Map$1

features

Feature`<Geometry, GeoJsonProperties>`[]

Returns

void

Released under commercial licensing.