Example #1
0
 public static GooglePolylines CloneMe(GooglePolylines prev)
 {
     var p = new GooglePolylines();
     for (int i = 0; i < prev.Count; i++)
     {
         var GPL = new GooglePolyline();
         GPL.ColorCode = prev[i].ColorCode;
         GPL.Geodesic = prev[i].Geodesic;
         GPL.ID = prev[i].ID;
         GPL.Points = GooglePoints.CloneMe(prev[i].Points);
         GPL.Width = prev[i].Width;
         p.Add(GPL);
     }
     return p;
 }
Example #2
0
 public void Add(GooglePolyline pPolyline)
 {
     List.Add(pPolyline);
 }
Example #3
0
 private bool Equals(GooglePolyline other)
 {
     return string.Equals(_colorcode, other._colorcode) && Equals(_gpoints, other._gpoints) &&
            string.Equals(_id, other._id) && string.Equals(_linestatus, other._linestatus)
            && _width == other._width && Geodesic.Equals(other.Geodesic);
 }