Skip to content

spatial-monorepo


spatial-monorepo / editor/src / removeOSMBuildingOutline

Function: removeOSMBuildingOutline()

removeOSMBuildingOutline(map): void

Defined in: packages/editor/src/layers/osmBuildingOutline.ts:50

Removes the OSM building outline layer and source from the map. Safe to call when neither layer nor source exists.

Parameters

map

Map$1

Returns

void

Released under commercial licensing.