public GoogleObject(GoogleObject prev)
 {
     Points              = GooglePoints.CloneMe(prev.Points);
     Polylines           = GooglePolylines.CloneMe(prev.Polylines);
     Polygons            = GooglePolygons.CloneMe(prev.Polygons);
     ZoomLevel           = prev.ZoomLevel;
     ShowZoomControl     = prev.ShowZoomControl;
     ShowMapTypesControl = prev.ShowMapTypesControl;
     Width       = prev.Width;
     Height      = prev.Height;
     MapType     = prev.MapType;
     APIKey      = prev.APIKey;
     ShowTraffic = prev.ShowTraffic;
     RecenterMap = prev.RecenterMap;
 }
Esempio n. 2
0
 public GoogleObject(GoogleObject prev)
 {
     try
     {
         Directions          = prev.Directions;
         Points              = GooglePoints.CloneMe(prev.Points);
         Polylines           = GooglePolylines.CloneMe(prev.Polylines);
         Polygons            = GooglePolygons.CloneMe(prev.Polygons);
         ZoomLevel           = prev.ZoomLevel;
         ShowZoomControl     = prev.ShowZoomControl;
         ShowMapTypesControl = prev.ShowMapTypesControl;
         Width       = prev.Width;
         Height      = prev.Height;
         MapType     = prev.MapType;
         APIKey      = prev.APIKey;
         ShowTraffic = prev.ShowTraffic;
         RecenterMap = prev.RecenterMap;
         AutomaticBoundaryAndZoom = prev.AutomaticBoundaryAndZoom;
     }
     catch (Exception)
     {}
 }