派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-05-10 204b8af237555feb1af83250dfdc28a5dc0a467c
src/conf/MapConfig.js
@@ -11,7 +11,6 @@
// service主机配置
// const APP_GIS_HOST = 'http://xearth.cn:6299'
const APP_GIS_HOST = 'http://xearth.cn:8088'
// 自定义主机配置
const BLUEMAP_HOST = APP_GIS_HOST // 公司发布的地图服务,用于测试的地址
@@ -21,11 +20,12 @@
const mapOptions = {
  crs: L.CRS.EPSG4326,
  minZoom: 3,
  maxZoom: 18,
  maxZoom: 17,
  // center: [26, 104],
  center: [38.828558921813965, 117.41676807403564],
  // center: [29.454345703125, 113.40362548828125],
  zoom: 5,
  // center: [34.828558921813965, 117.41676807403564],
  // zoom: 5,
  center: [32.25853085517883, 118.78592848777771],
  zoom: 15,
  worldCopyJump: true,
  inertia: true,
  zoomControl: false,