|
@@ -892,7 +892,7 @@ public static class MapControlEx
|
|
|
item.Location = new GeoPoint(imgLat, imgLon);
|
|
|
item.Image = img;
|
|
|
item.ToolTipPattern = toolTip;
|
|
|
- innerData.mMapStorageFixed.Items.Add(item);
|
|
|
+ innerData.mMapStorage.Items.Add(item);
|
|
|
}
|
|
|
public static void DrawFixedImg(this MapControl ctrl, string tag, double imgLat, double imgLon, SvgImage img, Size size, string toolTip = "")
|
|
|
{
|
|
@@ -904,7 +904,7 @@ public static class MapControlEx
|
|
|
item.SvgImage = img;
|
|
|
item.SvgImageSize = size;
|
|
|
item.ToolTipPattern = toolTip;
|
|
|
- innerData.mMapStorageFixed.Items.Add(item);
|
|
|
+ innerData.mMapStorage.Items.Add(item);
|
|
|
}
|
|
|
|
|
|
public static void DelFixedImg(this MapControl ctrl, string tag)
|
|
@@ -1409,7 +1409,7 @@ public static class MapControlEx
|
|
|
gpol.Stroke = Color.Red;
|
|
|
gpol.Fill = Color.FromArgb(50, Color.Red);
|
|
|
gpol.IsHitTestVisible = true;
|
|
|
- innerData.mMapStorageFixed.Items.Add(gpol);
|
|
|
+ innerData.mMapStorage.Items.Add(gpol);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|