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 setter
mapEventStream Stream<MapEvent>
no setteroverride
onReady Future<Null>
no setteroverride
rotation double
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state MapState
no getter
zoom double
no setteroverride

Methods

centerZoomFitBounds(LatLngBounds bounds, {FitBoundsOptions? options = const FitBoundsOptions(padding: EdgeInsets.all(12.0))}) CenterZoom
Calcs the new center and zoom for the map bounds. Optional constraints can be defined through the options parameter.
override
dispose() → void
fitBounds(LatLngBounds bounds, {FitBoundsOptions? options = const FitBoundsOptions(padding: EdgeInsets.all(12.0))}) → void
Fits the map bounds. Optional constraints can be defined through the options parameter.
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
rotate(double degree, {String? id}) bool
Sets the map rotation to a certain degrees angle (in decimal).
override
toString() String
A string representation of this object.
inherited

Operators

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