mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Removed CenteredBoundingBox
This commit is contained in:
parent
7f67e6fe17
commit
2817ecda7d
9 changed files with 19 additions and 75 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue