Beispiel #1
0
 public void RemoveMapObject(MapObject mapObj)
 {
     _mapObjects.Remove(mapObj);
     foreach (MapGraphicsItem graphicsItem in mapObj.GraphicsItems)
     {
         _graphics.RemoveMapObject(graphicsItem);
     }
 }
Beispiel #2
0
 public void RemoveMapObject(MapObject mapObj)
 {
     _mapObjects.Remove(mapObj);
     _mapGraphics.RemoveMapObject(mapObj);
 }