Request directions from Google's directions web service.

Namespace: Reimers.Google.Map.Geocoding
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public IGeocodeResult GetDirections(
	Address from,
	Address to,
	TravelMode mode,
	CultureInfo language
)

Parameters

from
Type: Reimers.Google.Map.Geocoding..::..Address
The departure address.
to
Type: Reimers.Google.Map.Geocoding..::..Address
The destination address.
mode
Type: Reimers.Core.Maps..::..TravelMode
The travel mode.
language
Type: System.Globalization..::..CultureInfo
Request directions in specific language.

Return Value

A IGeocodeResult object containing directions.

Implements

IGeocoder..::..GetDirections(Address, Address, TravelMode, CultureInfo)

Remarks

Google's directions service is an undocumented feature and is subject to change without notice.

See Also