location property

dynamic location
final

Specifies an intermediate location to include along the route between the origin and destination points. Waypoints alter a route by directing it through the specified location(s).

You can specify waypoints using the following values:

  • Latitude/longitude coordinates (lat/lng): an explicit value pair. (-34.92788,138.60008 comma or %2C, no space)
  • Place ID: The unique value specific to a location.
  • Address string (Charlestown, Boston,MA)
  • Encoded polyline that can be specified by a set of any of the above. (enc:lexeF{~wsZejrPjtye@:)

Implementation

final dynamic location;