ScaleControlOptions class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
imperial
↔ bool
-
Whether to show the imperial scale line (mi/ft). Default to
true
.
getter/setter pair
-
maxWidth
↔ num
-
Number 100 Maximum width of the control in pixels.
The width is set dynamically to show round values (e.g. 100, 200, 500).
getter/setter pair
-
metric
↔ bool
-
Whether to show the metric scale line (m/km). Default to
true
.
getter/setter pair
-
position
↔ String
-
The position of the control (one of the map corners). Possible values are 'topleft', 'topright', 'bottomleft' or 'bottomright'
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateWhenIdle
↔ bool
-
If
true
, the control is updated on moveend
, otherwise it's always
up-to-date (updated on move). Default to false
.
getter/setter pair
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited