public Geometry.Extent2D GetExtents() { Geometry.Extent2D result = Geometry.Extent2D.Null; foreach (VectorLayer layer in Layers) { result.Add(layer.GetExtents()); } return(result.Area == 0 ? new Geometry.Extent2D(0, 0, 1000, 1000) : result); // mod 20140628 }
public Geometry.Extent2D GetExtents() { Geometry.Extent2D result = Geometry.Extent2D.Null; foreach (VectorLayer layer in Layers) { result.Add(layer.GetExtents()); } return(result); }
public Geometry.Extent2D GetExtents() { Geometry.Extent2D result = Geometry.Extent2D.Null; foreach (var feature in Features) { Geometry.Point2DString poly = new Geometry.Point2DString(feature.GeoData); result.Add(poly.GetExtent()); } return(result); }