MapSuiteGisEditor/WpfDesktopExtension/Overlays/WorldMapKitMapOverlay.cs
/// <summary>
/// This method gets a world extent for holding the entire OpenStreed map.
/// </summary>
/// <returns></returns>
This method gets a world extent for holding the entire OpenStreed map.
This method gets a world extent for holding the entire OpenStreed map .
protected override RectangleShape GetBoundingBoxCore()
        {
            RectangleShape bbox = null;
            switch (Projection)
            {
                case Layers.WorldMapKitProjection.SphericalMercator:
                    bbox = MapUtils.GetDefaultMaxExtent(GeographyUnit.Meter);
                    break;
                default: bbox = MapUtils.GetDefaultMaxExtent(GeographyUnit.DecimalDegree);
                    break;
            }
            return bbox;
        }
protected override RectangleShape GetBoundingBoxCore ( ) { RectangleShape bbox = null ; switch ( Projection ) { case Layers . WorldMapKitProjection . SphericalMercator : bbox = MapUtils . GetDefaultMaxExtent ( GeographyUnit . Meter ) ; break ; default : bbox = MapUtils . GetDefaultMaxExtent ( GeographyUnit . DecimalDegree ) ; break ; } return bbox ; }
This method gets a world extent for holding the entire OpenStreed map.
This method gets a world extent for holding the entire OpenStreed map .
None