MapState class

Constructors

MapState(MapOptions options)

Properties

bounds LatLngBounds
read-only
center LatLng
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
onMoved Stream<Null>
read-only
options MapOptions
read / write
pixelBounds Bounds<num>
read-only
rotation double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size CustomPoint<num>
read / write
zoom double
read-only

Methods

dispose() → void
fitBounds(LatLngBounds bounds, FitBoundsOptions options) → void
getBounds() LatLngBounds
getBoundsCenterZoom(LatLngBounds bounds, FitBoundsOptions options) CenterZoom
getBoundsZoom(LatLngBounds bounds, CustomPoint<double> padding, {bool inside = false}) double
getCenter() LatLng
getLastPixelBounds() Bounds<num>
getNewPixelOrigin(LatLng center, [double zoom]) CustomPoint<num>
getPixelBounds(double zoom) Bounds<num>
getPixelOrigin() CustomPoint<num>
getPixelWorldBounds(double zoom) Bounds<num>
getScaleZoom(double scale, double fromZoom) double
getZoomScale(double toZoom, double fromZoom) double
layerPointToLatLng(CustomPoint<num> point) LatLng
move(LatLng center, double zoom, {dynamic hasGesture = false}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
project(LatLng latlng, [double zoom]) CustomPoint<num>
toString() String
A string representation of this object. [...]
inherited
unproject(CustomPoint<num> point, [double zoom]) LatLng

Operators

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