Removed CenteredBoundingBox

This commit is contained in:
ClemensFischer 2026-01-17 12:06:21 +01:00
parent 7f67e6fe17
commit 2817ecda7d
9 changed files with 19 additions and 75 deletions

View file

@ -11,7 +11,7 @@ namespace MapControl
/// Spherical Stereographic Projection - AUTO2:97002.
/// See "Map Projections - A Working Manual" (https://pubs.usgs.gov/publication/pp1395), p.157-160.
/// </summary>
public class StereographicProjection : AzimuthalProjection
public class StereographicProjection : MapProjection
{
public const string DefaultCrsId = "AUTO2:97002"; // GeoServer non-standard CRS identifier
@ -22,9 +22,12 @@ namespace MapControl
public StereographicProjection(string crsId)
{
Type = MapProjectionType.Azimuthal;
CrsId = crsId;
}
public double EarthRadius { get; set; } = Wgs84MeanRadius;
public override Point? LocationToMap(double latitude, double longitude)
{
if (Center.Equals(latitude, longitude))