派生自 wuyushui/SewerAndRainNetwork

YANGDL
2021-02-26 56b43d0a37ec52b718b32b00c63eb88f2e2744f3
src/conf/LayerSewers.js
@@ -1,18 +1,20 @@
import { GEOM_TYPE } from './Constants'
// const APP_GIS_HOST_2 = 'http://xearth.cn:6230'
const APP_GIS_HOST_2 = 'http://localhost:3000'
// const APP_GIS_HOST_2 = 'http://localhost:3000'
const APP_GIS_HOST_2 = 'http://192.168.31.226:8088'
export const LayerSewersLine = {
  code: 'pipeline',
  name: '管网数据',
  type: 'geojson',
  // url: APP_GIS_HOST_PIPELINE + '/server/ogcserver/PipeLineTest/wms?version=1.1.1',
  url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}',
  // url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLineTest/wms?version=1.1.1',
  // url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}',
  url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs?version=1.0.0&TYPENAME={sname}&REQUEST=getfeature&OUTPUTFORMAT=json&maxFeatures=20000',
  checked: true,
  layers: [
    {
      code: 'rainline',
      name: '雨水线',
      sname: 'pipeline', // 表名
      sname: '管网', // 表名
      checked: true, // 默认选中状态
      filter: {},
      zoom: 10, // 在指定级别显示
@@ -98,6 +100,7 @@
    code: 'fsss',
    name: '附属设施',
    checked: false, // 默认选中状态
    url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}',
    filters: [
      {
        code: 'fourlink',
@@ -161,6 +164,7 @@
    code: 'hbss',
    name: '环保设施',
    checked: false, // 默认选中状态
    url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}',
    filters: [
      {
        code: 'manhole',
@@ -217,6 +221,7 @@
    code: 'pk',
    name: '排口',
    checked: false, // 默认选中状态
    url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}',
    filters: [
      {
        code: 'dischargeport',
@@ -231,6 +236,7 @@
    code: 'qyxx',
    name: '区域信息',
    checked: false, // 默认选中状态
    url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}',
    filters: [
      {
        code: 'thirdpartypipe',