|
@@ -990,6 +990,87 @@ export default {
|
|
|
})
|
|
|
break;
|
|
|
}
|
|
|
+ //加载二维服务
|
|
|
+ //showCurrentCubeTileLayer(currentRealPowerLevel)
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ async function showCurrentCubeTileLayer(level) {
|
|
|
+ debugger
|
|
|
+ let layerList = [15,16,17,18,19,20,21,22,23];
|
|
|
+ layerList.forEach((item)=>{
|
|
|
+ if (item !== level) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile"+item,
|
|
|
+ type: "tile",
|
|
|
+ visible:false,
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if (level === 15) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile15",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031601")
|
|
|
+ })
|
|
|
+ } else if (level === 16) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile16",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031602")
|
|
|
+ })
|
|
|
+ } else if (level === 17) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile17",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031603")
|
|
|
+ })
|
|
|
+ } else if (level === 18) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile18",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031604")
|
|
|
+ })
|
|
|
+ } else if (level === 19) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile19",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031605")
|
|
|
+ })
|
|
|
+ } else if (level === 20) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile20",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031606")
|
|
|
+ })
|
|
|
+ } else if (level === 21) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile21",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031607")
|
|
|
+ })
|
|
|
+ } else if (level === 22) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile22",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031608")
|
|
|
+ })
|
|
|
+ } else if (level === 23) {
|
|
|
+ addSingleLayer({
|
|
|
+ id: "cubeTile23",
|
|
|
+ type: "tile",
|
|
|
+ visible:true,
|
|
|
+ url: await returnProxyUrl("https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D999999012025031609")
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|