Skip to content

ui/map/drawingExclusion

Functions

claimDrawing()

function claimDrawing(owner, cancel): void;

Defined in: ui/map/drawingExclusion.ts:16

Claim interactive drawing for owner, cancelling any other tool's in-progress draw first. cancel must fully stop the owner's draw; it is invoked when another tool claims the map.

Parameters

owner

object

cancel

() => void

Returns

void


releaseDrawing()

function releaseDrawing(owner): void;

Defined in: ui/map/drawingExclusion.ts:25

Release the claim if owner still holds it (no-op otherwise).

Parameters

owner

object

Returns

void