智慧园区前端大屏
shuishen
2024-12-16 94c8c790b3fd25579b859142707b7d21eca01d4d
src/pages/map/components/scomponents/layersControl.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-31 10:47:29
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-16 19:15:27
 * @LastEditTime: 2024-12-16 20:01:40
 * @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue
 * @Description:
 *
@@ -293,10 +293,10 @@
          type: 6,
          size: 1000
        },
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/yjb.png',
        className: 'yjb-box',
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/kt.png',
        className: 'sk-box',
        showPanel: false,
        layerName: 'yjb',
        layerName: 'kt',
        incident: (e) => {
          const { attrParams } = e.overlay
          // 删除
@@ -338,7 +338,7 @@
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/gouqu.png',
        className: 'xfs-box',
        showPanel: false,
        layerName: 'gouqu'
        layerName: 'mq'
      },
      {
        id: '3-8',
@@ -350,10 +350,10 @@
          type: 8,
          size: 1000
        },
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/wsclc.png',
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/ql.png',
        className: 'xfs-box',
        showPanel: false,
        layerName: 'fsclz'
        layerName: 'ql'
      },
      {
        parentId: '3',
@@ -366,10 +366,10 @@
          type: 9,
          size: 1000
        },
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/psk.png',
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/sd.png',
        className: 'xfs-box',
        showPanel: false,
        layerName: 'psk',
        layerName: 'sd',
        incident: (e) => {
          const { attrParams } = e.overlay
          // 删除
@@ -406,10 +406,10 @@
          type: 10,
          size: 1000
        },
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/wsc.png',
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/wd.png',
        className: 'xfs-box',
        showPanel: false,
        layerName: 'wsc'
        layerName: 'wd'
      },
      {
        id: '3-11',
@@ -421,10 +421,10 @@
          type: 11,
          size: 1000
        },
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/wsc.png',
        className: 'xfs-box',
        backgroundIcon: VITE_APP_BASE + 'img/mapicon/zb.png',
        className: 'sk-box',
        showPanel: false,
        layerName: 'wsc'
        layerName: 'zb'
      }
    ]
  },
@@ -554,7 +554,7 @@
              skipLevelOfDetail: true,
              baseScreenSpaceError: 1024,
              maximumScreenSpaceError: 128, // 数值加大,能让最终成像变模糊
              maximumScreenSpaceError: 8, // 数值加大,能让最终成像变模糊
              skipScreenSpaceErrorFactor: 128,
              skipLevels: 5,
              immediatelyLoadDesiredLevelOfDetail: false,