mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Reworked MapProjection
Return nullable Point from LocationToMap. Use MapRect instead of WinUI/UWP Rect replacement. Drop Vector. Add Scale struct.
This commit is contained in:
parent
bab1788334
commit
218a85316c
28 changed files with 249 additions and 324 deletions
|
|
@ -100,7 +100,7 @@ namespace MapControl
|
|||
transform.M21 = 0;
|
||||
}
|
||||
|
||||
var rect = new Rect(
|
||||
var rect = new MapRect(
|
||||
transform.Transform(new Point()),
|
||||
transform.Transform(new Point(bitmap.PixelWidth, bitmap.PixelHeight)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue