liuyg
2021-12-22 75ca0722b86e7751202e7aec2e8d8ef96d68ce98
src/components/map/index.vue
@@ -150,25 +150,25 @@
                name: '电子'
            })
            // eslint-disable-next-line camelcase
            const baselayer_street = that.DC.ImageryLayerFactory.createArcGisImageryLayer({
                url:
                    'http://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map/MapServer'
            })
            viewer.addBaseLayer(baselayer_street, {
                iconUrl: 'examples/images/icon/ter.png',
                name: '地形'
            })
            // // eslint-disable-next-line camelcase
            // const baselayer_street = that.DC.ImageryLayerFactory.createArcGisImageryLayer({
            //     url:
            //         'http://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map/MapServer'
            // })
            // viewer.addBaseLayer(baselayer_street, {
            //     iconUrl: 'examples/images/icon/ter.png',
            //     name: '地形'
            // })
            // eslint-disable-next-line camelcase
            const baselayer_ter = that.DC.ImageryLayerFactory.createArcGisImageryLayer({
                url:
                    'http://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer'
            })
            viewer.addBaseLayer(baselayer_ter, {
                iconUrl: 'examples/images/icon/ter.png',
                name: '地形'
            })
            // // eslint-disable-next-line camelcase
            // const baselayer_ter = that.DC.ImageryLayerFactory.createArcGisImageryLayer({
            //     url:
            //         'http://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer'
            // })
            // viewer.addBaseLayer(baselayer_ter, {
            //     iconUrl: 'examples/images/icon/ter.png',
            //     name: '地形'
            // })
            // const tilesetLayer = new that.DC.TilesetLayer('tilesetLayer')
            // viewer.addLayer(tilesetLayer)
@@ -246,7 +246,7 @@
            )
            wall.setStyle({
                material: new that.DC.WallTrailMaterialProperty({
                    color: that.DC.Color.GREEN,
                    color: that.DC.Color.DEEPSKYBLUE,
                    speed: 4
                })
            })