CenterZoomMapState class abstract

Interface that represents the state for a CenterZoomMap. Contains methods for centering and zooming into a particular point or lat-long bounds.

Constructors

CenterZoomMapState()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animateTo(CenterZoom target) TickerFuture
Smoothly animate the map to the given CenterZoom target
animateToBounds(LatLngBounds bounds) TickerFuture
Smoothly animate the map to fit the given bounds.
animateToBoundsOf(List<LatLng> points) TickerFuture
Smoothly animate the map to fit the bounds of the given list of points.
getMapCenterZoom() CenterZoom
Returns the current CenterZoom of the map.
getWidgetCenterZoom() CenterZoom
Returns the CenterZoom implied by the state's widget bounds and focused point.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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