mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Updated map projections
This commit is contained in:
parent
d790200cf1
commit
359cbe8908
4 changed files with 84 additions and 52 deletions
|
|
@ -43,8 +43,8 @@ namespace MapControl
|
|||
|
||||
public override Location MapToLocation(double x, double y)
|
||||
{
|
||||
return new Location(
|
||||
YToLatitude(y / EquatorialRadius * 180d / Math.PI),
|
||||
return new Location(YToLatitude(
|
||||
y / EquatorialRadius * 180d / Math.PI),
|
||||
x / EquatorialRadius * 180d / Math.PI);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue