mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
MapProjection.RelativeTransform
This commit is contained in:
parent
a0e82964ef
commit
8d25310b8e
19 changed files with 59 additions and 50 deletions
|
|
@ -183,7 +183,7 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public Matrix GetMapToViewTransform(double latitude, double longitude)
|
||||
{
|
||||
var transform = MapProjection.RelativeScale(latitude, longitude);
|
||||
var transform = MapProjection.RelativeTransform(latitude, longitude);
|
||||
transform.Scale(ViewTransform.Scale, ViewTransform.Scale);
|
||||
transform.Rotate(ViewTransform.Rotation);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue