public VEShape(VEShapeType type, VELatLong latLong) { if (type == VEShapeType.Pushpin) { this.type = type; this.points = new List <VELatLong>(); points.Add(latLong); } else { throw new Exception("This constructor only works for VEShapeType.Pushpin"); } }
public VEShape(VEShapeType type, List <VELatLong> points) { this.type = type; this.points = points; }