mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Removed partial method from MapPanel
This commit is contained in:
parent
eaf3ff05fa
commit
0a07c45979
|
|
@ -52,14 +52,14 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
SetValue(ParentMapProperty, this);
|
SetValue(ParentMapProperty, this);
|
||||||
}
|
}
|
||||||
|
#if UWP || WINUI
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
InitMapPanel();
|
InitMapElement(this);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
partial void InitMapPanel();
|
|
||||||
|
|
||||||
private MapBase parentMap;
|
private MapBase parentMap;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,6 @@ namespace MapControl
|
||||||
|
|
||||||
protected IEnumerable<FrameworkElement> ChildElements => Children.OfType<FrameworkElement>();
|
protected IEnumerable<FrameworkElement> ChildElements => Children.OfType<FrameworkElement>();
|
||||||
|
|
||||||
partial void InitMapPanel()
|
|
||||||
{
|
|
||||||
InitMapElement(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void InitMapElement(FrameworkElement element)
|
public static void InitMapElement(FrameworkElement element)
|
||||||
{
|
{
|
||||||
// Workaround for missing property value inheritance.
|
// Workaround for missing property value inheritance.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue