mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Replaced MapRect and Scale by Rect and Point
This commit is contained in:
parent
dd62545b41
commit
7e18b6b984
32 changed files with 256 additions and 238 deletions
|
|
@ -29,7 +29,7 @@ namespace MapControl
|
|||
public double FalseEasting { get; set; }
|
||||
public double FalseNorthing { get; set; }
|
||||
|
||||
public override Scale GetRelativeScale(Location location)
|
||||
public override Point GetRelativeScale(Location location)
|
||||
{
|
||||
var k = ScaleFactor;
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ namespace MapControl
|
|||
+ (61d - 148d * T + 16d * T_2) * A_6 / 720d); // p.61 (8-11)
|
||||
}
|
||||
|
||||
return new Scale(k, k);
|
||||
return new Point(k, k);
|
||||
}
|
||||
|
||||
public override Point? LocationToMap(Location location)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue