MapState class
Methods
-
centerZoomFitBounds(LatLngBounds bounds, FitBoundsOptions options)
→ CenterZoom
-
-
dispose()
→ void
-
-
emitMapEvent(MapEvent event)
→ void
-
-
fitBounds(LatLngBounds bounds, FitBoundsOptions options)
→ void
-
-
fitZoomToBounds(double? zoom)
→ double
-
-
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, dynamic callOnMoveSink = true, required MapEventSource source, String? id})
→ bool
-
-
moveAndRotate(LatLng center, double zoom, double degree, {required MapEventSource source, String? id})
→ MoveAndRotateResult
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
project(LatLng latlng, [double? zoom])
→ CustomPoint<num>
-
-
rebuildLayers()
→ void
-
-
rotate(double degree, {dynamic hasGesture = false, dynamic callOnMoveSink = true, required MapEventSource source, String? id})
→ bool
-
-
setOriginalSize(double width, double height)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
unproject(CustomPoint<num> point, [double? zoom])
→ LatLng
-