MobileForms Toolkit Documentation

GeoPolyline.EncodePoints Method (IEnumerable)

Encodes the list of geographic points into a polyline string.

public static string EncodePoints(
IEnumerable points
);

Parameters

points
An IEnumerable object containing a list of GeoPoint objects representing the path. It is typically an object of List<GeoPoint> type.

Return Value

A string representing an encoded polyline.

Exceptions

Exception Type Condition
InvalidCastException Raised if one of the objects cannot be casted to GeoPoint.

See Also

GeoPolyline Class | Resco.Location Namespace | GeoPolyline.EncodePoints Overload List