map_location_picker library

Classes

AddressComponent
AlternativeId
AndroidGoogleMapsFlutter
Android specific settings for GoogleMap.
AndroidResource
Uniquely identifies an Android resource.
AndroidSettings
Represents different Android specific settings with which you can set a value other then the default value of the setting.
AppleSettings
Represents different iOS specific settings with which you can set a value other then the default value of the setting.
ArgumentCallbacks<T>
Mutable collection of ArgumentCallback instances, itself an ArgumentCallback.
AutoCompleteState
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.
Bounds
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.
Component
ForegroundNotificationConfig
Configuration for the foreground notification. When this is provided the location service will run as a foreground service.
GeocodingResponse
GeocodingResult
Geolocator
Wraps CLLocationManager (on iOS) and FusedLocationProviderClient or LocationManager (on Android), providing support to retrieve position information of the device.
GeolocatorPlatform
The interface that implementations of geolocator must implement.
Geometry
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.
GoogleMapsGeocoding
https://developers.google.com/maps/documentation/geocoding/start
GoogleMapsPlaces
https://developers.google.com/places/web-service/
GoogleResponse<T>
GoogleResponseList<T>
GoogleResponseStatus
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.
Location
LocationSettings
Represents the abstract LocationSettings class with which you can configure platform specific settings.
MapLocationPicker
Marker
Marks a geographical location on the map.
MarkerId
Uniquely identifies a Marker among GoogleMap markers.
MatchedSubstring
MinMaxZoomPreference
Preferred bounds for map camera zoom level.
OpeningHoursDetail
OpeningHoursPeriod
OpeningHoursPeriodDate
PatternItem
Item used in the stroke pattern for a Polyline.
Photo
PlaceDetails
PlaceEditorialSummary
PlacesAutocomplete
PlacesAutocompleteResponse
PlacesDetailsResponse
PlacesSearchResponse
PlacesSearchResult
PlusCode
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.
Position
Contains detailed location information.
Prediction
Review
ScreenCoordinate
Represents a point coordinate in the GoogleMap's view.
StreetAddress
StructuredFormatting
Term
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.

Enums

ActivityType
Represents the possible iOS activity types.
JointType
Joint types for Polyline.
LocationAccuracy
Represent the possible location accuracy values.
LocationAccuracyStatus
Represent the current Location Accuracy Status on iOS 14.0 and higher.
LocationPermission
Represent the possible location permissions.
MapType
Type of map tiles to display.
PriceLevel
RouteType
ServiceStatus
Describes the current state of the location service on the native platform.
TrafficModel
TransitMode
TransitRoutingPreferences
TravelMode
Unit
WebGestureHandling
This setting controls how the API handles gestures on the map

Functions

useState<T>(T initialData) ValueNotifier<T>

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

ActivityMissingException
An exception thrown when executing functionality which requires an Android while no activity is provided.
AlreadySubscribedException
An exception thrown when subscribing to receive positions while another subscription is already active.
InvalidPermissionException
An exception thrown when trying to convert a unknown permission into the LocationPermission enum.
LocationServiceDisabledException
An exception thrown when trying to access the device's location information while the location service on the device is disabled.
MapStyleException
Exception when a map style is invalid or was unable to be set.
PermissionDefinitionsNotFoundException
An exception thrown when the required platform specific permission definitions could not be found (e.g. in the AndroidManifest.xml file on Android or in the Info.plist file on iOS).
PermissionDeniedException
An exception thrown when trying to access the device's location information while access is denied.
PermissionRequestInProgressException
An exception thrown when requesting location permissions while an earlier request has not yet been completed.
PositionUpdateException
An exception thrown when something went wrong while listening for position updates.
UnknownMapObjectIdError
Error thrown when an unknown map object ID is provided to a method.