AppleMapController class

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

Properties

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

Methods

animateCamera(CameraUpdate cameraUpdate) Future<void>
Starts an animated change of the map camera position.
getScreenCoordinate(LatLng latLng) Future<Offset?>
A projection is used to translate between on screen location and geographic coordinates. Screen location is in screen pixels (not display pixels) with respect to the top left corner of the map, not necessarily of the whole screen.
getVisibleRegion() Future<LatLngBounds>
Return LatLngBounds defining the region that is visible in a map.
getZoomLevel() Future<double?>
Returns the current zoomLevel.
hideMarkerInfoWindow(AnnotationId annotationId) Future<void>
Programmatically hide the Info Window for a Marker.
isMarkerInfoWindowShown(AnnotationId annotationId) Future<bool?>
Returns true when the InfoWindow is showing, false otherwise.
moveCamera(CameraUpdate cameraUpdate) Future<void>
Changes the map camera position without animating the transition.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showMarkerInfoWindow(AnnotationId annotationId) Future<void>
Programmatically show the Info Window for a Marker.
takeSnapshot([SnapshotOptions snapshotOptions = const SnapshotOptions()]) Future<Uint8List?>
Returns the image bytes of the 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, _AppleMapState appleMapState) Future<AppleMapController>