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(
	ICoordinates from,
	ICoordinates to,
	Encoding encoding,
	CultureInfo language
)

Parameters

from
Type: Reimers.Core.Maps..::..ICoordinates
The departure coordinates.
to
Type: Reimers.Core.Maps..::..ICoordinates
The destination coordinates.
encoding
Type: System.Text..::..Encoding
Character encoding.
language
Type: System.Globalization..::..CultureInfo
Request directions in specific language.

Return Value

A IGeocodeResult object containing directions.

Implements

IGeocoder..::..GetDirections(ICoordinates, ICoordinates, Encoding, CultureInfo)

Remarks

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

See Also