arrow-left
All pages
gitbookPowered by GitBook
1 of 1

Loading...

MapInteractionEvent


The event object passed to the interaction listeners.

hashtag
Properties

hashtag
coordinate

coordinate:

The cursor position in world coordinates.


hashtag
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

hashtag
features

features: []

The vector features that are under the cursor.


hashtag
rasterValues

rasterValues: []

The raster pixel values that are under the cursor.

x

number

y

number

LatLng
LayerFeature
RasterValue