shuishen
2022-09-20 2083043344c7cb6c9bae4d602f69eac29ad3bb21
模型事件调整
2 files modified
51 ■■■■ changed files
src/components/map/index.vue 4 ●●●● patch | view | raw | blame | history
src/views/home/index.vue 47 ●●●● patch | view | raw | blame | history
src/components/map/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 17:00:30
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-09-20 17:07:27
 * @LastEditTime: 2022-09-20 17:19:17
 * @FilePath: \srs-police-affairs\src\components\map\index.vue
 * @Description: 公用地图组件
 * 
@@ -511,7 +511,7 @@
            polygon.setStyle({
                material: material,
                perPositionHeight: true
                perPositionHeight: true,
            })
            layersObjcect[layerName].addOverlay(polygon)
src/views/home/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-09-20 16:58:31
 * @LastEditTime: 2022-09-20 17:18:22
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 * 
@@ -278,36 +278,36 @@
            ]
            let position = [
                [
                    [115.935114, 28.627012, 100],
                    [115.930150, 28.733535, 100],
                    [115.986738, 28.683523, 100],
                    [116.015526, 28.647454, 100],
                    [115.935114, 28.627012, 0],
                    [115.930150, 28.733535, 0],
                    [115.986738, 28.683523, 0],
                    [116.015526, 28.647454, 0],
                ],
                [
                    [115.935114, 28.627012, 100],
                    [116.015526, 28.647454, 100],
                    [116.080062, 28.590419, 100],
                    [116.075505, 28.528672, 100],
                    [115.959503, 28.530546, 100],
                    [115.935114, 28.627012, 0],
                    [116.015526, 28.647454, 0],
                    [116.080062, 28.590419, 0],
                    [116.075505, 28.528672, 0],
                    [115.959503, 28.530546, 0],
                ],
                [
                    [116.080062, 28.590419, 100],
                    [116.075505, 28.528672, 100],
                    [116.167934, 28.527504, 100],
                    [116.346666, 28.615709, 100],
                    [116.080062, 28.590419, 0],
                    [116.075505, 28.528672, 0],
                    [116.167934, 28.527504, 0],
                    [116.346666, 28.615709, 0],
                ],
                [
                    [116.015526, 28.647454, 100],
                    [116.080062, 28.590419, 100],
                    [116.346666, 28.615709, 100],
                    [116.285670, 28.732610, 100],
                    [116.015526, 28.647454, 0],
                    [116.080062, 28.590419, 0],
                    [116.346666, 28.615709, 0],
                    [116.285670, 28.732610, 0],
                ],
                [
                    [116.015526, 28.647454, 100],
                    [116.285670, 28.732610, 100],
                    [116.085312, 28.807226, 100],
                    [115.930150, 28.733535, 100],
                    [115.986738, 28.683523, 100]
                    [116.015526, 28.647454, 0],
                    [116.285670, 28.732610, 0],
                    [116.085312, 28.807226, 0],
                    [115.930150, 28.733535, 0],
                    [115.986738, 28.683523, 0]
                ]
            ]
@@ -639,7 +639,6 @@
        // 模型的点击事件
        tilesetClick (e) {
            console.log(e)
            this.$router.push({ path: '/lyout/house', query: { id: '1' } })
        },