mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 07:55:13 +00:00
Version 4.12.1 Added AutoEquirectangularProjection
This commit is contained in:
parent
0a3ae81117
commit
bd9a16e921
17 changed files with 174 additions and 140 deletions
|
|
@ -30,8 +30,8 @@ namespace MapControl
|
|||
public override Vector GetMapScale(Location location)
|
||||
{
|
||||
return new Vector(
|
||||
ViewportScale / (MetersPerDegree * Math.Cos(location.Latitude * Math.PI / 180d)),
|
||||
ViewportScale / MetersPerDegree);
|
||||
ViewportScale / (Wgs84MetersPerDegree * Math.Cos(location.Latitude * Math.PI / 180d)),
|
||||
ViewportScale / Wgs84MetersPerDegree);
|
||||
}
|
||||
|
||||
public override Point LocationToPoint(Location location)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue