派生自 wuyushui/SewerAndRainNetwork

YANGDL
2021-03-01 c50c7860530f24eb199b1f1385fee3bc1bd671c0
src/conf/MapConfig.js
@@ -1,6 +1,6 @@
import * as L from 'leaflet'
import TDT from './TDT'
import { Layers } from './Layers'
import { LayerSewersLine, LayerSewersPoint } from './LayerSewers'
const curWwwPath = window.document.location.href
const pathname = window.document.location.pathname
const pos = curWwwPath.indexOf(pathname)
@@ -27,7 +27,8 @@
  inertia: true,
  zoomControl: false,
  attributionControl: false,
  editable: true
  editable: true,
  preferCanvas: true
}
const mapConfig = {
@@ -35,7 +36,7 @@
  showBaseMapType: 1, // 1显示天地图,2显示arcgis地图
  IntranetBaseMaps: TDT.intranet,
  InternetBaseMaps: TDT.internet,
  ServiceLayers: Layers
  Layers: { LayerSewersLine: [LayerSewersLine], layerSewersPoint: LayerSewersPoint } // 污雨水图层配置
}
/**
@@ -56,6 +57,5 @@
  mapOptions,
  mapConfig,
  TokenConfig,
  BLUEMAP_HOST
}