GeoFence(ListCoordinate) Constructor
Create a GeoFence using a list of coordinates
A GeoFence can be either a series of lines or polygons.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public GeoFence(
List<Coordinate> coordinates
)
Parameters
- coordinates ListCoordinate
- List of coordinates
The following example creates a polyline base on coordinates.
List<Coordinate> coords = new List<Coordinate>();
coords.Add(new Coordinate(25,63));
coords.Add(new Coordinate(26,63));
coords.Add(new Coordinate(27,63));
GeoFence gf = new GeoFence(coords);