public void AddMapObject(MapObject mapObj) { _mapObjects.Add(mapObj); foreach (MapGraphicsItem graphicsItem in mapObj.GraphicsItems) { _graphics.AddMapItem(graphicsItem); } }