Skip to main content

ShapeClickEvent

wemap-sdk-js


Type Alias: ShapeClickEvent

ShapeClickEvent = object

Payload for a ShapeLayer click event.

Properties​

coordinates​

coordinates: Coordinates

Click location.


id​

id: string

The shape id returned by the originating draw* call.


properties​

properties: Record<string, unknown>

The clicked shape's properties (simplestyle plus any extras). Note level appears here as a string.