Click or drag to resize

GeoFence Constructor (ListCoordinate)

Create a GeoFence using a list of coordinates A GeoFence can be either a series of lines or polygons.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.12.1.1
Syntax
C#
public GeoFence(
	List<Coordinate> coordinates
)

Parameters

coordinates
Type: System.Collections.GenericListCoordinate
List of coordinates
Examples
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);
See Also