GooglePolylineAlgoritm Class

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps.Google
Assembly Skybrud.Essentials.Maps.dll
Visibility Public
Keywords Static
Inheritance Object
public static class GooglePolylineAlgoritm { }

Methods

Decode(string) (static)
Decode(string) (static)

Decodes a string of coordinates encoded with Google's polyline algorithm.

Encode(IPoint) (static)

Encodes the specified point using Google's polyline algorithm.

Encode(IPolygon) (static)

Encodes the specified polygon using Google's polyline algorithm.

Encodes the specified multiPolygon using Google's polyline algorithm.

The polyline algorithm doesn't directly support multiple polygons and the encoded strings for each polygons are therefor separated by System.Environment.NewLine.

Encodes the specified lineString using Google's polyline algorithm.

Encodes the specified points using Google's polyline algorithm.