mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 22:18:56 +00:00
Version 5.0.1: Dropped MapProjection.UnitsPerDegree
This commit is contained in:
parent
2b41d298f4
commit
43c33c2564
12 changed files with 29 additions and 50 deletions
|
|
@ -110,11 +110,6 @@ namespace MapControl.Projections
|
|||
get { return isWebMercator; }
|
||||
}
|
||||
|
||||
public override double UnitsPerDegree
|
||||
{
|
||||
get { return unitsPerDegree; }
|
||||
}
|
||||
|
||||
public override Point LocationToMap(Location location)
|
||||
{
|
||||
if (LocationToMapTransform == null)
|
||||
|
|
|
|||
|
|
@ -33,11 +33,6 @@ namespace MapControl.Projections
|
|||
this.falseNorthing = falseNorthing;
|
||||
}
|
||||
|
||||
public override double UnitsPerDegree
|
||||
{
|
||||
get { return scaleFactor * Wgs84MetersPerDegree; }
|
||||
}
|
||||
|
||||
public override Vector GetRelativeScale(Location location)
|
||||
{
|
||||
var lat = (north ? location.Latitude : -location.Latitude) * Math.PI / 180d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue