C# Class Google.Maps.PolylineEncoder

Mostrar archivo Open project: ericnewton76/gmaps-api-net Class Usage Examples

Public Methods

Method Description
Decode ( string value ) : IEnumerable

Decode encoded polyline information to a collection of LatLng instances.

EncodeCoordinates ( IEnumerable coordinates ) : string

Encodes the list of coordinates to a Google Maps encoded coordinate string.

Private Methods

Method Description
EncodeNumber ( int num ) : string

Encode an unsigned number in the encode format.

EncodeSignedNumber ( int num ) : string

Encode a signed number in the encode format.

Method Details

Decode() public static method

Decode encoded polyline information to a collection of LatLng instances.
public static Decode ( string value ) : IEnumerable
value string ASCII string
return IEnumerable

EncodeCoordinates() public static method

Encodes the list of coordinates to a Google Maps encoded coordinate string.
public static EncodeCoordinates ( IEnumerable coordinates ) : string
coordinates IEnumerable The coordinates.
return string