RouteDirectionsGetRoute Method |
doogal.co.uk Home
Gets a route from the Google Maps Directions web service.
Namespace: GoogleDirectionsAssembly: GoogleDirections (in GoogleDirections.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public Route GetRoute(
bool optimize,
params Location[] locations
)
Public Function GetRoute (
optimize As Boolean,
ParamArray locations As Location()
) As Route
public:
Route^ GetRoute(
bool optimize,
... array<Location^>^ locations
)
member GetRoute :
optimize : bool *
locations : Location[] -> Route
Parameters
- optimize
- Type: SystemBoolean
if set to true optimize the route by re-ordering the locations to minimise the
time to complete the route. - locations
- Type: GoogleDirectionsLocation
The locations.
Return Value
Type:
RouteThe route
See Also