google_maps_flutter library

Classes

AndroidGoogleMapsFlutter
Android specific settings for GoogleMap.
ArgumentCallbacks<T>
Mutable collection of ArgumentCallback instances, itself an ArgumentCallback.
AssetMapBitmap
Represents a BitmapDescriptor that is created from an asset image.
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.
BytesMapBitmap
Represents a BitmapDescriptor that is created from an array of bytes encoded as PNG in Uint8List.
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.
Cluster
A cluster containing multiple markers.
ClusterManager
ClusterManager manages marker clustering for set of Markers that have the same ClusterManagerId set.
ClusterManagerId
Uniquely identifies a ClusterManager among GoogleMap clusters.
GoogleMap
A widget which displays a map with data obtained from the Google Maps service.
GoogleMapController
Controller for a single GoogleMap instance running on the host platform.
Heatmap
Draws a heatmap on the map.
HeatmapGradient
Represents a mapping of intensity to color.
HeatmapGradientColor
A Color with a startPoint for use in a HeatmapGradient.
HeatmapId
Uniquely identifies a Heatmap among GoogleMap heatmaps.
HeatmapRadius
A wrapper around platform specific behavior for the radius of a Heatmap.
InfoWindow
Text labels for a Marker info window.
LatLng
A pair of latitude and longitude coordinates, stored as degrees.
LatLngBounds
A latitude/longitude aligned rectangle.
Marker
Marks a geographical location on the map.
MarkerId
Uniquely identifies a Marker among GoogleMap markers.
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.
Polyline
Draws a line through geographical locations on the map.
PolylineId
Uniquely identifies a Polyline among GoogleMap polylines.
ScreenCoordinate
Represents a point coordinate in the GoogleMap's view.
Tile
Contains information about a Tile that is returned by a TileProvider.
TileOverlay
A set of images which are displayed on top of the base map tiles.
TileOverlayId
Uniquely identifies a TileOverlay among GoogleMap tile overlays.
TileProvider
An interface for a class that provides the tile images for a TileOverlay.
WeightedLatLng
A data point entry for a heatmap.

Enums

JointType
Joint types for Polyline.
MapBitmapScaling
Type of bitmap scaling to use on BitmapDescriptor creation.
MapType
Type of map tiles to display.
WebGestureHandling
This setting controls how the API handles gestures on the map

Typedefs

ArgumentCallback<T> = void Function(T argument)
Callback function taking a single argument.
CameraPositionCallback = void Function(CameraPosition position)
Callback that receives updates to the camera position.
MapCreatedCallback = void Function(GoogleMapController controller)
Callback method for when the map is ready to be used.

Exceptions / Errors

MapStyleException
Exception when a map style is invalid or was unable to be set.
UnknownMapObjectIdError
Error thrown when an unknown map object ID is provided to a method.