MapTouchEvent class

Constructors

MapTouchEvent.fromJsObject(MapTouchEventJsImpl jsObject)
Creates a new MapTouchEvent 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 → MapTouchEventJsImpl
JS object.
finalinherited
lngLat LngLat
The geographic location on the map of the center of the touch event points.
no setter
lngLats List<LngLat>
The geographical locations on the map corresponding to a touch event's touches property.
no setter
originalEvent TouchEvent
The DOM event which caused the map event.
no setter
point Point
The pixel coordinates of the center of the touch event points, relative to the map and measured from the top left corner.
no setter
points List<Point>
The array of pixel coordinates corresponding to a touch event's touches property.
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