mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapPanel.Avalonia.cs
This commit is contained in:
parent
0511b439e1
commit
1228489f9f
|
|
@ -22,9 +22,9 @@ namespace MapControl
|
||||||
|
|
||||||
public MapPanel()
|
public MapPanel()
|
||||||
{
|
{
|
||||||
if (this is MapBase mapBase)
|
if (this is MapBase)
|
||||||
{
|
{
|
||||||
SetValue(ParentMapProperty, mapBase);
|
SetValue(ParentMapProperty, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue