mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-09 00:14:51 +00:00
Updated map projections
This commit is contained in:
parent
d6cdd5dc38
commit
5334bb4ea6
4 changed files with 35 additions and 54 deletions
|
|
@ -202,7 +202,7 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public Matrix GetMapTransform(Location location)
|
||||
{
|
||||
var mapScale = GetMapScale(location);
|
||||
var mapScale = GetMapScale(location.Latitude, location.Longitude);
|
||||
var transform = new Matrix(mapScale.X, 0d, 0d, mapScale.Y, 0d, 0d);
|
||||
|
||||
transform.Rotate(ViewTransform.Rotation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue