diff --git a/MapControl/Shared/MapItem.cs b/MapControl/Shared/MapItem.cs index d58f4023..a54c9e08 100644 --- a/MapControl/Shared/MapItem.cs +++ b/MapControl/Shared/MapItem.cs @@ -63,6 +63,7 @@ namespace MapControl // Attach ViewportChanged handler only if MapTransform is actually used. // parentMap.ViewportChanged += OnViewportChanged; + UpdateMapTransform(Location); } } @@ -83,6 +84,7 @@ namespace MapControl if (parentMap != null) { parentMap.ViewportChanged += OnViewportChanged; + UpdateMapTransform(Location); } }