mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
MapPanel constructor
This commit is contained in:
parent
fde4eccf12
commit
71e7e29200
4 changed files with 22 additions and 30 deletions
|
|
@ -44,6 +44,22 @@ namespace MapControl
|
|||
},
|
||||
true); // inherits
|
||||
|
||||
public MapPanel()
|
||||
{
|
||||
UseLayoutRounding = false;
|
||||
|
||||
if (this is MapBase)
|
||||
{
|
||||
SetValue(ParentMapProperty, this);
|
||||
}
|
||||
else
|
||||
{
|
||||
InitMapPanel();
|
||||
}
|
||||
}
|
||||
|
||||
partial void InitMapPanel();
|
||||
|
||||
private MapBase parentMap;
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue