GoogleMapController class

Controller for a single GoogleMap instance running on the host platform.

Properties

channel MethodChannel
@visibleForTesting, final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

animateCamera(CameraUpdate cameraUpdate) → Future<void>
Starts an animated change of the map camera position. [...]
getLatLng(ScreenCoordinate screenCoordinate) → Future<LatLng>
Returns LatLng corresponding to the ScreenCoordinate in the current map view. [...]
getScreenCoordinate(LatLng latLng) → Future<ScreenCoordinate>
Return ScreenCoordinate of the LatLng in the current map view. [...]
getVisibleRegion() → Future<LatLngBounds>
Return LatLngBounds defining the region that is visible in a map.
moveCamera(CameraUpdate cameraUpdate) → Future<void>
Changes the map camera position. [...]
setMapStyle(String mapStyle) → Future<void>
Sets the styling of the base map. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Methods

init(int id, CameraPosition initialCameraPosition, _GoogleMapState googleMapState) → Future<GoogleMapController>