Newer
Older
KaiFengPC / src / views / sponeScreen / gisMF / cesiumMapLegend.js
@jimengfei jimengfei on 20 Jun 6 KB updata
let cesiumMapLegend = [
  {
    title: '基础图层',
    noAllCheck: true,
    children: [
      [
        {
          isCheck: false,
          name: '白色地图',
          url: 'whiteMap_icon.png',
          layername: 'whiteMap',
          type: 'background',
        },
        {
          isCheck: false,
          name: '深色地图',
          url: 'blackMap_icon.png',
          layername: 'blackMap',
          type: 'background',
        },
      ],
      [
        {
          isCheck: false,
          name: '影像图',
          url: 'imageMap_icon.png',
          layername: 'imageMap',
          type: 'background',
        },
        {
          isCheck: false,
          name: '三维建筑',
          url: 'building_icon.png',
          layername: 'buildingModel',
          type: '3dTileset',
        },
      ],
      [
        {
          isCheck: false,
          name: '行政区划',
          url: 'cityArea_icon.png',
          layername: 'cityArea',
          type: 'areaWall',
        },
        {
          isCheck: false,
          name: '建成区',
          url: 'builtCity_icon.png',
          layername: 'builtCity',
          type: 'areaWall',
        },
      ],
      [
        {
          isCheck: false,
          name: '中心城区',
          url: 'centerCity_icon.png',
          layername: 'centerCity',
          type: 'areaWall',
        },
        {
          isCheck: false,
          name: '河湖水系',
          url: 'dynamicWater_icon.png',
          layername: 'dynamicWater',
          type: 'dynamicWater',
        },
      ],
      [
        {
          isCheck: false,
          name: '排水分区一',
          url: 'paiShuiArea1_icon.png',
          layername: 'cesiumPaishuiArea1',
          type: 'cesiumPaishuiArea',
        },
        {
          isCheck: false,
          name: '地形地貌',
          url: 'topography_icon.png',
          layername: 'topography',
          type: 'pngImage',
        },
      ],
      [
        {
          isCheck: false,
          name: '排水分区二',
          url: 'paiShuiArea2_icon.png',
          layername: 'cesiumPaishuiArea2',
          type: 'cesiumPaishuiArea',
        },
        {
          isCheck: false,
          name: '供水厂',
          url: 'waterFactory_icon.png',
          layername: 'waterFactory',
          type: 'iconPoint',
        },
      ],
      [
        {
          isCheck: false,
          name: '排水分区三',
          url: 'paiShuiArea3_icon.png',
          layername: 'cesiumPaishuiArea3',
          type: 'cesiumPaishuiArea',
        },
      ],
    ],
  },
  {
    title: '雨水/污水系统',
    isCheck: false,
    children: [
      [
        {
          isCheck: false,
          name: '雨水管网',
          layername: 'rainLine',
          url: 'rainLine_icon.png', //图层+json √
          type: 'mapServer',
        },
        {
          isCheck: false,
          name: '雨水泵站',
          layername: 'YSBZ',
          url: 'rainBengZhan_icon.png', //图层+json √
          mapUrl: 'paiLaoBeng.png',
          type: 'point',
          //data: YSBZ,
          //data: ysBengZhan,
        },
      ],
      [
        {
          isCheck: false,
          name: '污水管网',
          layername: 'sewageLine',
          url: 'sewageLine_icon.png', //服务  √
          type: 'mapServer',
        },
        {
          isCheck: false,
          name: '污水泵站', //图层+json   √
          layername: 'WSBZ',
          url: 'sewageBenZhan_icon.png',
          mapUrl: 'wsBeng.png',
          type: 'point',
          //data: WSBZ,
          //data: wsBengZhan,
        },
      ],
      [
        {
          isCheck: false,
          name: '合流管网',
          layername: 'combineLine',
          url: 'combineLine_icon.png', //服务  √
          type: 'mapServer',
        },
        {
          isCheck: false,
          name: '合流泵站', //图层+json   √
          layername: 'combineBengZhan',
          url: 'combineBengZhan_icon.png',
          mapUrl: 'wsBeng.png',
          type: 'point',
          //data: WSBZ,
          //data: wsBengZhan,
        },
      ],
      [
        {
          isCheck: false,
          name: '污水处理厂',
          layername: 'sewageFactory', //图层+json   √
          url: 'sewageFactory_icon.png',
          mapUrl: 'WSC.png',
          type: 'point',
          //data: WSCLC,
          //data: wuShuiChang,
        },
        {
          isCheck: false,
          name: '管网流向',
          layername: 'pipeLineFlow',
          url: 'pipeLineFlow_icon.png',
          type: 'dynamicLine',
        },
      ],
    ],
  },
  {
    title: '雨水/污水系统',
    isCheck: false,
    children: [
      [
        {
          isCheck: false,
          name: '内涝积水点',
          layername: 'waterLoging', //图层+json  √
          url: 'waterLoging_icon.png',
          mapUrl: 'rain.png',
          type: 'point',
          //data: rainStation,
        },
        {
          isCheck: false,
          name: '河道断面',
          layername: 'waterCourse',
          url: 'waterCourse_icon.png', //图层+json  √
          mapUrl: 'KDJZWMX.png',
          type: 'point',
          //data: riverLake,
        },
      ],
      [
        {
          isCheck: false,
          name: '雨量站',
          layername: 'rainStation',
          url: 'rainStation_icon.png', //图层+json  √
          mapUrl: 'yuanTou.png',
          type: 'point',
          //data: waterSectionInfo,
        },
        {
          isCheck: false,
          name: '源头地块',
          layername: 'origine', //图层+json  √
          url: 'origine_icon.png',
          mapUrl: 'rainSupervise.png',
          type: 'point',
          //data: pipeSupervise,
        },
      ],
      [
        {
          isCheck: false,
          name: '海绵设施',
          layername: 'spongeFacility',
          url: 'spongeFacility_icon.png', //图层+json  √
          mapUrl: 'yiLao.png',
          type: 'point',
          //data: waterlog,
        },
      ],
    ],
  },
];
export default cesiumMapLegend;