diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index f349e07..2c6dab7 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -1105,7 +1105,7 @@ }; const cadToMap = () => { - const mode = "SharedArrayBuffer" in window ? "2d" : "2d-st" +/* const mode = "SharedArrayBuffer" in window ? "2d" : "2d-st" let mapOrigin = [114.574109195774, 30.4194314468947]; let cadOrigin = [12754331.4937665, 3557578.58417769]; let map = newfiberMap.map; @@ -1118,7 +1118,7 @@ fileUrl: 'https://supermap6.wh-nf.cn:8090/resource/v4/kexuedao.dwg.mxweb', viewBackgroundColor: {red: 0, green: 0, blue: 0} }); - window.mx_map = mx_map; + window.mx_map = mx_map;*/ } const events_params = { removeMapDatas: { key: "removeMapDatas" },