mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapItemsControl.cs
This commit is contained in:
parent
da7e81f8d8
commit
d7593cbe8c
|
|
@ -57,7 +57,10 @@ namespace MapControl
|
||||||
|
|
||||||
protected override Size ArrangeOverride(Size bounds)
|
protected override Size ArrangeOverride(Size bounds)
|
||||||
{
|
{
|
||||||
// If MapTransform is used, update its Matrix property.
|
var size = base.ArrangeOverride(bounds);
|
||||||
|
|
||||||
|
// If the MapTransform property is used, update its Matrix property
|
||||||
|
// (after calling base.ArrangeOverride to avoid rendering issues).
|
||||||
//
|
//
|
||||||
if (mapTransform != null)
|
if (mapTransform != null)
|
||||||
{
|
{
|
||||||
|
|
@ -72,7 +75,7 @@ namespace MapControl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return base.ArrangeOverride(bounds);
|
return size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue