suerprisePlus
2024-06-12 0b7865733542931c7c3fcf74febd30fe145af957
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import mapServer from "./mapServer";
 
const mapInfo = {
  init(res) {
    switch (res) {
      case "flyToImageryLayer":
        this.setFlyToImageryLayer();
        break;
    }
  },
  setFlyToImageryLayer() {
    mapServer.addServer({
      sourceType: "tms",
      url: "http://test.smartearth.cn:9037/gisserver/tmsserver/SubicBayArea"
    });
  }
};
export default mapInfo;