Control class

Implementers
Annotations
  • @JS('L.control')

Constructors

Control([ControlOptions? 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.
getContainer() Element
Returns the HTMLElement that contains the control.
getPosition() String
Returns the position of the control.
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.
setPosition(String position) Control
Sets the position of the control.
toString() String
A string representation of this object.
inherited

Operators

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