mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 07:55:13 +00:00
Fixed RelativeTransform of azimuthal projections
This commit is contained in:
parent
8d25310b8e
commit
3922297e7b
12 changed files with 72 additions and 39 deletions
|
|
@ -31,7 +31,7 @@ namespace MapControl
|
|||
var p = GetProjectedPoint(latitude, longitude);
|
||||
var k = 2d / (1d + p.CosC); // p.157 (21-4), k0 == 1
|
||||
|
||||
return p.RelativeScale(k, k);
|
||||
return RelativeTransform(latitude, longitude, k, k);
|
||||
}
|
||||
|
||||
public override Point? LocationToMap(double latitude, double longitude)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue