Click or drag to resize
RouteDirectionsGetRoute Method
doogal.co.uk Home



Gets a route from the Google Maps Directions web service.

Namespace: GoogleDirections
Assembly: GoogleDirections (in GoogleDirections.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public Route GetRoute(
	bool optimize,
	params Location[] locations
)

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: Route
The route
See Also