示例#1
0
        public Bounds2 CalculateBounds()
        {
            Bounds2 bounds = new Bounds2();

            foreach (OsmNode node in nodes.Values)
            {
                bounds.ExtendToCover(node.Longitude, node.Latitude);
            }

            return(bounds);
        }