E class

Constructors

E()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

autopanstart → const String
Event Fired when the map starts autopanning when opening a popup.
baselayerchange → const String
LayersControlEvent Fired when the base layer is changed through the layer control.
click → const String
Interaction events MouseEvent Fired when the user clicks (or taps) the map.
contextmenu → const String
MouseEvent Fired when the user pushes the right mouse button on the map, prevents default browser context menu from showing if there are listeners on this event. Also fired on mobile when the user holds a single touch for a second (also called long press).
dblclick → const String
MouseEvent Fired when the user double-clicks (or double-taps) the map.
keydown → const String
KeyboardEvent Fired when the user presses a key from the keyboard while the map is focused. Unlike the keypress event, the keydown event is fired for keys that produce a character value and for keys that do not produce a character value.
keypress → const String
KeyboardEvent Fired when the user presses a key from the keyboard that produces a character value while the map is focused.
keyup → const String
KeyboardEvent Fired when the user releases a key from the keyboard while the map is focused.
layeradd → const String
LayerEvent Fired when a new layer is added to the map.
layerremove → const String
LayerEvent Fired when some layer is removed from the map
load → const String
Event Fired when the map is initialized (when its center and zoom are set for the first time).
locationerror → const String
Location events ErrorEvent Fired when geolocation (using the locate method) failed.
locationfound → const String
LocationEvent Fired when geolocation (using the locate method) went successfully.
mousedown → const String
MouseEvent Fired when the user pushes the mouse button on the map.
mousemove → const String
MouseEvent Fired while the mouse moves over the map.
mouseout → const String
MouseEvent Fired when the mouse leaves the map.
mouseover → const String
MouseEvent Fired when the mouse enters the map.
mouseup → const String
MouseEvent Fired when the user releases the mouse button on the map.
move → const String
Event Fired repeatedly during any movement of the map, including pan and fly animations.
moveend → const String
Event Fired when the center of the map stops changing (e.g. user stopped dragging the map).
movestart → const String
Event Fired when the view of the map starts changing (e.g. user starts dragging the map).
overlayadd → const String
LayersControlEvent Fired when an overlay is selected through the layer control.
overlayremove → const String
LayersControlEvent Fired when an overlay is deselected through the layer control.
popupclose → const String
PopupEvent Fired when a popup in the map is closed
popupopen → const String
Popup events PopupEvent Fired when a popup is opened in the map
preclick → const String
MouseEvent Fired before mouse click on the map (sometimes useful when you want something to happen on click before any existing click handlers start running).
resize → const String
ResizeEvent Fired when the map is resized.
tooltipclose → const String
TooltipEvent Fired when a tooltip in the map is closed.
tooltipopen → const String
Tooltip events TooltipEvent Fired when a tooltip is opened in the map.
unload → const String
Event Fired when the map is destroyed with remove method.
viewreset → const String
Event Fired when the map needs to redraw its content (this usually happens on map zoom or load). Very useful for creating custom overlays.
zoom → const String
Event Fired repeatedly during any change in zoom level, including zoom and fly animations.
zoomanim → const String
Other Methods ZoomAnimEvent Fired at least once per zoom animation. For continuous zoom, like pinch zooming, fired once per frame during zoom.
zoomend → const String
Event Fired when the map has changed, after any animations.
zoomlevelschange → const String
Map state change events Event Fired when the number of zoomlevels on the map is changed due to adding or removing a layer.
zoomstart → const String
Event Fired when the map zoom is about to change (e.g. before zoom animation).