mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Compare commits
2 commits
6542596fd5
...
81bc4f01a2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81bc4f01a2 | ||
|
|
2390c3bfba |
|
|
@ -47,16 +47,14 @@ namespace MapControl
|
|||
{
|
||||
mapElement.ParentMap = newValue;
|
||||
}
|
||||
#if UWP || WINUI
|
||||
});
|
||||
#else
|
||||
}, true); // inherits
|
||||
}
|
||||
#if WPF || AVALONIA
|
||||
, true // inherits, not available in WinUI/UWP
|
||||
#endif
|
||||
);
|
||||
|
||||
public MapPanel()
|
||||
{
|
||||
UseLayoutRounding = false;
|
||||
|
||||
if (this is MapBase)
|
||||
{
|
||||
SetValue(ParentMapProperty, this);
|
||||
|
|
|
|||
Loading…
Reference in a new issue