mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapBase.MapLayer.cs
This commit is contained in:
parent
ecd91faef2
commit
5cb0880141
|
|
@ -175,7 +175,7 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
Children.Insert(index, mapLayer);
|
Children.Insert(index, mapLayer);
|
||||||
|
|
||||||
if (index == 0)
|
if (index++ == 0)
|
||||||
{
|
{
|
||||||
MapLayer = mapLayer;
|
MapLayer = mapLayer;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue