ZoomControl class

A basic zoom control with two buttons (zoom in and zoom out). It is put on the map by default unless you set its zoomControl option to false.

Inheritance
Annotations
  • @JS('L.control.zoom')

Constructors

ZoomControl([ZoomControlOptions? options])

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

addTo(LeafletMap map) Control
Adds the control to the given map.
inherited
getContainer() Element
Returns the HTMLElement that contains the control.
inherited
getPosition() String
Returns the position of the control.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove() Control
Removes the control from the map it is currently active on.
inherited
setPosition(String position) Control
Sets the position of the control.
inherited
toString() String
A string representation of this object.
inherited

Operators

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