MapControllerImpl class
Methods
-
centerZoomFitBounds(LatLngBounds bounds, {FitBoundsOptions? options = const FitBoundsOptions(padding: EdgeInsets.all(12))})
→ CenterZoom
-
Calcs the new center and zoom for the map bounds. Optional constraints can be defined
through the
options
parameter.
override
-
dispose()
→ void
-
override
-
fitBounds(LatLngBounds bounds, {FitBoundsOptions? options = const FitBoundsOptions(padding: EdgeInsets.all(12))})
→ void
-
Fits the map bounds. Optional constraints can be defined
through the
options
parameter.
override
-
latLngToScreenPoint(LatLng latLng)
→ CustomPoint<num>
-
override
-
move(LatLng center, double zoom, {String? id})
→ bool
-
Moves the map to a specific location and zoom level
override
-
moveAndRotate(LatLng center, double zoom, double degree, {String? id})
→ MoveAndRotateResult
-
Calls move and rotate together however layers will rebuild just once
instead of twice
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pointToLatLng(CustomPoint<num> localPoint)
→ LatLng?
-
override
-
rotate(double degree, {String? id})
→ bool
-
Sets the map rotation to a certain degrees angle (in decimal).
override
-
rotatePoint(CustomPoint<num> mapCenter, CustomPoint<num> point, {bool counterRotation = true})
→ CustomPoint<num>
-
-
toString()
→ String
-
A string representation of this object.
inherited