public void LoadLayers(string fileName) { mapController.MapObjectDataCollection.BeforeRemoveObjectDataCallback = beforeRemoveObjectData; mapController.MapObjectDataCollection.AddObjectDataCallback = afterAddObjectData; mapLayers.Load(MapSetting.MAP_LAYER_FOLDER_NAME + fileName, mapController.MapObjectDataCollection); if (mapLayers.GetLayerCount() == 0) { mapLayers.InitLayer(mapController.MapObjectDataCollection); } UpdateUI(); }