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; }
public void Add(GooglePolyline pPolyline) { List.Add(pPolyline); }
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); }