MapInteractionEvent


The event object passed to the interaction listeners.

Properties

coordinate

coordinate: LatLng

The cursor position in world coordinates.


point

point: { x: number; y: number; }

The pixel coordinates of the mouse cursor, relative to the map and measured from the top left corner.

Name
Type

x

number

y

number


features

features: LayerFeature[]

The vector features that are under the cursor.


rasterValues

rasterValues: RasterValue[]

The raster pixel values that are under the cursor.

Last updated

Was this helpful?