MapControllerImpl class

Implemented types

Constructors

MapControllerImpl()

Properties

bounds LatLngBounds?
no setteroverride
center → LatLng
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
mapEventSink StreamSink<MapEvent>
no setteroverride
mapEventStream Stream<MapEvent>
no setteroverride
onReady Future<void>
no setteroverride
rotation double
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state MapState
no getteroverride
zoom double
no setteroverride

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

Operators

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