Exemplo n.º 1
0
 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");
     }
 }
Exemplo n.º 2
0
 public VEShape(VEShapeType type, List <VELatLong> points)
 {
     this.type   = type;
     this.points = points;
 }