Routes
You able to search route between two location.
Download#
Create PlaceRoute#
Search route between locations#
For search a route, use searchRoute DSL builder.
Builder#
| Param | type | desc |
|---|---|---|
startLocation | Location | start destination |
endLocation | Location | end destination |
transportMode | TransportMode | transport mode, available CAR and BIKE, default is CAR |
Route Data#
| Param | type | desc |
|---|---|---|
encodedPolyline | String | encoded of geometry |
geometries | List<LatLng> | list LatLng of geometry |
length | Float | Length of polyline decoded |