The event object passed to the interaction listeners.
coordinate: LatLng
LatLng
The cursor position in world coordinates.
point: { x: number; y: number; }
x
number
y
The pixel coordinates of the mouse cursor, relative to the map and measured from the top left corner.
features: LayerFeature[]
LayerFeature
The vector features that are under the cursor.
rasterValues: RasterValue[]
RasterValue
The raster pixel values that are under the cursor.
Last updated 9 months ago
Was this helpful?