GoogleMapPolyline class

Gives polyline coordinates to set polylines in Google Map.

Constructors

GoogleMapPolyline({required String apiKey})

Properties

apiKey String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCoordinatesWithLocation({required LatLng origin, required LatLng destination, required RouteMode mode}) Future<List<LatLng>?>
Get coordinates using Location Coordinates Example : LatLng(40.677939, -73.941755)
getPolylineCoordinatesWithAddress({required String origin, required String destination, required RouteMode mode}) Future<List<LatLng>?>
Get coordinates using Location Coordinates Example : '55 Kingston Ave, Brooklyn, NY 11213, USA'
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited