Newer
Older
dcms_front / src / components / Map / ArcGISConfig.js
zhangyingjie on 25 Oct 2019 724 bytes first commit
export const mapConfig = {
  apiUrl: 'https://js.arcgis.com/4.13/', // 暂时使用管网提供的api,实际部署时建议离线部署一套
  mapIp: '223.84.218.107', // 服务ip
  mapPort: '6080', // 服务端口
  serverBase: 'http://223.84.218.107:6080/arcgis/rest/services/', // 服务地址前缀
  mapCenter: '[116.597,28.24]' // 地图中心点
}

export const serverConfig = {
  mapUrlBase: mapConfig.serverBase + 'dx/2w/MapServer', // 底图服务地址
  mapUrlBj: mapConfig.serverBase + 'dx/dxbj/MapServer', // 部件服务地址
  mapUrlBjfc: mapConfig.serverBase + 'dx/bjfc/MapServer', // 部件分层服务地址
  mapUrlBjEdit: mapConfig.serverBase + 'dx/dxbj/FeatureServer' // 可编辑的部件图层
}