suerprisePlus
2024-07-04 81f92eb9fb83ed5d8ac0b0a5c206315416f10df0
src/assets/js/map/mapInfo.js
@@ -17,7 +17,7 @@
  setFlyToImageryLayer() {
    mapServer.addServer({
      sourceType: "tms",
      url: "http://192.168.11.41:9001/gisserver/tmsserver/SubicBayArea"
      url: "http://103.135.160.14:9038/gisserver/tmsserver/SubicBayArea"
    });
  },
  setAddWeapons() {
@@ -30,9 +30,23 @@
    });
  },
  setEntityQueryInput(){
    earthCtrl.camera.flyTo(120.27012029869624, 14.794107005718674, 2921.642108119077, 0, -90, 0, 2);
    // earthCtrl.camera.flyTo(120.27012029869624, 14.794107005718674, 2921.642108119077, 0, -90, 0, 2);
    // earthCtrl.camera.flyTo(120.298738742, 14.80902903, 2921.642108119077, 0, -90, 0, 2);
     earthCtrl.camera.flyTo(
      120.25011537497547,
      14.785109412061856,
      2921.642108119077,
      57, -45, 0, 2
      );
  },
  setFlyTo(res){
    earthCtrl.camera.flyTo(
      res.longitude,
      res.latitude,
      res.height,
      0, -90, 0, 2
      );
  }
 
};
export default mapInfo;