PolylinePoints class

Constructors

PolylinePoints()

Properties

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

Methods

decodePolyline(String encodedString) List<PointLatLng>
Decode and encoded google polyline e.g "_p~iF~ps|U_ulLnnqC_mqNvxq`@"
getRouteBetweenCoordinates(String googleApiKey, PointLatLng origin, PointLatLng destination, {TravelMode travelMode = TravelMode.driving, List<PolylineWayPoint> wayPoints = const [], bool avoidHighways = false, bool avoidTolls = false, bool avoidFerries = true, bool optimizeWaypoints = false}) Future<PolylineResult>
Get the list of coordinates between two geographical positions which can be used to draw polyline between this two positions
getRouteWithAlternatives({required PolylineRequest request}) Future<List<PolylineResult>>
Get the list of coordinates between two geographical positions with alternative routes which can be used to draw polyline between this two positions
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