shuishen
2022-01-04 9c73670b2d4e294ab6ce6ad8a1b958c31cd47013
部分更改
1 files modified
32 ■■■■ changed files
src/components/map/components/dimension.vue 32 ●●●● patch | view | raw | blame | history
src/components/map/components/dimension.vue
@@ -140,26 +140,26 @@
                        this.$store.commit('SET_DETAILSPOPUP', true)
                    })
                    that.tileset.on(that.DC.MouseEventType.MOUSE_MOVE, e => {
                        that.silhouetteBlue.selected = []
                    // that.tileset.on(that.DC.MouseEventType.MOUSE_MOVE, e => {
                    //     that.silhouetteBlue.selected = []
                        if (that.DC.Namespace.Cesium.defined(highlighted.feature)) {
                            highlighted.feature.color = highlighted.originalColor
                            highlighted.feature = undefined
                        }
                    //     if (that.DC.Namespace.Cesium.defined(highlighted.feature)) {
                    //         highlighted.feature.color = highlighted.originalColor
                    //         highlighted.feature = undefined
                    //     }
                        if (e.feature !== selected.feature) {
                            that.silhouetteBlue.selected = [e.feature]
                    //     if (e.feature !== selected.feature) {
                    //         that.silhouetteBlue.selected = [e.feature]
                            highlighted.feature = e.feature
                    //         highlighted.feature = e.feature
                            that.DC.Namespace.Cesium.Color.clone(
                                e.feature.color,
                                highlighted.originalColor
                            )
                            e.feature.color = that.DC.Namespace.Cesium.Color.fromBytes(155, 255, 175)
                        }
                    })
                    //         that.DC.Namespace.Cesium.Color.clone(
                    //             e.feature.color,
                    //             highlighted.originalColor
                    //         )
                    //         e.feature.color = that.DC.Namespace.Cesium.Color.fromBytes(155, 255, 175)
                    //     }
                    // })
                    // var provider = new that.DC.Namespace.Cesium.WebMapTileServiceImageryProvider({
                    //     url: 'http://www.tdtfz.com/OneMapServer/rest/services/fzsw2019/MapServer/WMTS/tile/1.0.0/fzsw2019/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}',