Commit bf259253 authored by 涂伟's avatar 涂伟
parents 4127ede8 881eb323
Pipeline #92672 failed with stages
......@@ -95,8 +95,8 @@
"@wisdom-cesium/cesium": "1.1.12",
"@wisdom-cesium/krpano": "^1.0.29-60",
"@wisdom-map/amap":"^2.0.15",
"@wisdom-map/arcgismap":"^2.0.63",
"@wisdom-map/basemap":"^2.0.3",
"@wisdom-map/arcgismap":"^2.0.66",
"@wisdom-map/basemap":"^2.0.4",
"@wisdom-utils/components": "0.1.337",
"@wisdom-utils/utils": "0.1.377",
"ace-builds": "^1.4.12",
......@@ -129,7 +129,7 @@
"jszip": "^3.10.1",
"lodash": "4.17.11",
"minimist": "1.2.0",
"panda-xform": "6.10.0",
"panda-xform": "6.10.2",
"parseForm": "^2.3.8",
"prop-types": "15.7.2",
"qrcode.react": "^3.1.0",
......
......@@ -18,7 +18,8 @@ import {
SimpleFillSymbol,
Graphic,
EditAndDrawPanel,
Handles
Handles,
ImageTileLayer
} from '@wisdom-map/arcgismap';
import { checkInternalNetwork } from '@/utils/utils';
import { getPipenetLayer } from '@wisdom-map/basemap';
......@@ -489,7 +490,6 @@ const Map = props => {
// item.layerType && item.layerType == 'PipenetLayertest';
// });
// viewObject.map.removeMany(pipenetLayers);
// 切换范围类型清除自定义绘制管网
viewObject.map.layers.forEach(item => {
if (item.layerType && item.layerType == 'PipenetLayertest') {
......@@ -510,7 +510,7 @@ const Map = props => {
aa = i.id;
}
});
const pandagis1 = new MapImageLayer({
const pandagis1 = new ImageTileLayer({
id: aa,
url: `/PandaGIS/MapServer/${aa}`,
layerType: 'PipenetLayertest',
......@@ -960,7 +960,7 @@ const Map = props => {
});
};
const pandagis = useMemo(() => new MapImageLayer({
const pandagis = useMemo(() => new ImageTileLayer({
id: keep.id,
url: `/PandaGIS/MapServer/${keep.id}`,
layerType: 'PipenetLayertest',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment