ZoomOption class
this class used to customize the zoom for osm map
stepZoom : set default step zoom value (default = 1)
initZoom : set initialized zoom in specific location (default = 2)
minZoomLevel : set default zoom value (default = 1)
maxZoomLevel : set default zoom value (default = 1)
Constructors
- ZoomOption({double stepZoom = 1, double initZoom = 2, double minZoomLevel = 2, double maxZoomLevel = 19})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initZoom → double
-
the initialized zoom in when initializing the map (default = 2)
final
- maxZoomLevel → double
-
the maximum zoom level of the osm map
final
- minZoomLevel → double
-
the minimum zoom level of the osm map
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stepZoom → double
-
the default step zoom of map when zoomIn or zoomOut (default = 1)
final
-
toMap
→ Map<
String, int> -
no setter
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