Пример #1
0
 /// <summary>
 /// Update layer menu
 /// </summary>
 /// <param name="layerMenu"></param>
 public void UpdateLayerMenu(LayerMenuOptions layerMenu)
 {
     MapConfig config = readMapConfigFromFile();
     var tool = config.tools.Find(t => t.type == "layerswitcher");
     tool.options = layerMenu;
     this.saveMapConfigToFile(config);
 }
Пример #2
0
 public void UpdateLayerMenu(LayerMenuOptions config)
 {
     this.settingsDataContext.UpdateLayerMenu(config);
 }