MapMouseEvent class

Constructors

MapMouseEvent.fromJsObject(MapMouseEventJsImpl jsObject)
Creates a new MapMouseEvent from a jsObject.

Properties

defaultPrevented bool
true if preventDefault has been called.
no setter
hashCode int
The hash code for this object.
no setterinherited
jsObject → MapMouseEventJsImpl
JS object.
finalinherited
lngLat LngLat
The geographic location on the map of the mouse cursor.
no setter
originalEvent MouseEvent
The DOM event which caused the map event.
no setter
point Point
The pixel coordinates of the mouse cursor, relative to the map and measured from the top left corner.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target MapboxMap
The MapboxMap object that fired the event.
no setter
type String
The event type.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventDefault() → dynamic
Prevents subsequent default processing of the event by the map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited