GoogleMapController class

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

Properties

channel MethodChannel
Used to communicate with the native platform. [...]
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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setMapStyle(String mapStyle) Future<void>
Sets the styling of the base map. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

init(int id, CameraPosition initialCameraPosition, _GoogleMapState googleMapState) Future<GoogleMapController>
Initialize control of a GoogleMap with id. [...]