google_maps_flutter_platform_interface library

Classes

ArgumentCallbacks<T>
Mutable collection of ArgumentCallback instances, itself an ArgumentCallback. [...]
BitmapDescriptor
Defines a bitmap image. For a marker, this class can be used to set the image of the marker icon. For a ground overlay, it can be used to set the image to place on the surface of the earth.
CameraIdleEvent
An event fired when the Camera of a mapId becomes idle.
CameraMoveEvent
An event fired while the Camera of a mapId moves.
CameraMoveStartedEvent
An event fired when the Camera of a mapId starts moving.
CameraPosition
The position of the map "camera", the view point from which the world is shown in the map view. [...]
CameraTargetBounds
Bounds for the map camera target.
CameraUpdate
Defines a camera move, supporting absolute moves as well as moves relative the current position.
Cap
Cap that can be applied at the start or end vertex of a Polyline.
Circle
Draws a circle on the map.
CircleId
Uniquely identifies a Circle among GoogleMap circles. [...]
CircleTapEvent
An event fired when a Circle is tapped.
CircleUpdates
Circle update events to be applied to the GoogleMap. [...]
GoogleMapsFlutterPlatform
The interface that platform-specific implementations of google_maps_flutter must extend. [...]
InfoWindow
Text labels for a Marker info window.
InfoWindowTapEvent
An event fired when an InfoWindow is tapped.
JointType
Joint types for Polyline.
LatLng
A pair of latitude and longitude coordinates, stored as degrees.
LatLngBounds
A latitude/longitude aligned rectangle. [...]
MapEvent<T>
Generic Event coming from the native side of Maps. [...]
MapLongPressEvent
An event fired when a Map is long pressed.
MapTapEvent
An event fired when a Map is tapped.
Marker
Marks a geographical location on the map. [...]
MarkerDragEndEvent
An event fired when a Marker is dragged to a new LatLng.
MarkerId
Uniquely identifies a Marker among GoogleMap markers. [...]
MarkerTapEvent
An event fired when a Marker is tapped.
MarkerUpdates
Marker update events to be applied to the GoogleMap. [...]
MinMaxZoomPreference
Preferred bounds for map camera zoom level.
PatternItem
Item used in the stroke pattern for a Polyline.
Polygon
Draws a polygon through geographical locations on the map.
PolygonId
Uniquely identifies a Polygon among GoogleMap polygons. [...]
PolygonTapEvent
An event fired when a Polygon is tapped.
PolygonUpdates
Polygon update events to be applied to the GoogleMap. [...]
Polyline
Draws a line through geographical locations on the map.
PolylineId
Uniquely identifies a Polyline among GoogleMap polylines. [...]
PolylineTapEvent
An event fired when a Polyline is tapped.
PolylineUpdates
Polyline update events to be applied to the GoogleMap. [...]
ScreenCoordinate
Represents a point coordinate in the GoogleMap's view. [...]

Functions

keyByCircleId(Iterable<Circle> circles) Map<CircleId, Circle>
Converts an Iterable of Circles in a Map of CircleId -> Circle.
keyByMarkerId(Iterable<Marker> markers) Map<MarkerId, Marker>
Converts an Iterable of Markers in a Map of MarkerId -> Marker.
keyByPolygonId(Iterable<Polygon> polygons) Map<PolygonId, Polygon>
Converts an Iterable of Polygons in a Map of PolygonId -> Polygon.
keyByPolylineId(Iterable<Polyline> polylines) Map<PolylineId, Polyline>
Converts an Iterable of Polylines in a Map of PolylineId -> Polyline.
serializeCircleSet(Set<Circle> circles) List<Map<String, dynamic>>
Converts a Set of Circles into something serializable in JSON.
serializeMarkerSet(Set<Marker> markers) List<Map<String, dynamic>>
Converts a Set of Markers into something serializable in JSON.
serializePolygonSet(Set<Polygon> polygons) List<Map<String, dynamic>>
Converts a Set of Polygons into something serializable in JSON.
serializePolylineSet(Set<Polyline> polylines) List<Map<String, dynamic>>
Converts a Set of Polylines into something serializable in JSON.

Enums

MapType
Type of map tiles to display.

Typedefs

ArgumentCallback<T>(T argument) → void
Callback function taking a single argument.
CameraPositionCallback(CameraPosition position) → void
Callback that receives updates to the camera position. [...]

Exceptions / Errors

MapStyleException
Exception when a map style is invalid or was unable to be set. [...]