private void 导出图层ToolStripMenuItem_Click(object sender, EventArgs e) { SaveFileDialog saved = new SaveFileDialog(); if (saved.ShowDialog() == DialogResult.OK) { WEIO.SaveLayer(AllLayer[StyleLayerNum], saved.FileName); } }
private void 导出文件ToolStripMenuItem_Click(object sender, EventArgs e) { SaveFileDialog saved = new SaveFileDialog(); if (saved.ShowDialog() == DialogResult.OK) { WEIO.SaveMap(new WEMap(saved.FileName, AllLayer.ToArray(), -180, 180, -90, 90), saved.FileName); foreach (var i in AllLayer) { WEIO.SaveLayer(i, i.LayerName); } } }