GoogleMapController class

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


channel MethodChannel
Used to communicate with the native platform. [...]
@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


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.
toString() → String
Returns a string representation of this object.


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

Static Methods

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