config.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* eslint-disable no-unused-vars */
  2. var systemConfig = {
  3. currentEnvir: "qp",
  4. // oauth地址
  5. // oauthServiceUrl: "http://121.43.55.7:10086/oauth",
  6. oauthServiceUrl: "http://10.235.245.174:8888/oauth",
  7. mapDefault: {
  8. center: {
  9. lng: 116.334228,
  10. lat: 39.072511
  11. },
  12. zoom: 14
  13. },
  14. raster: 'http://t{0-7}.tianditu.gov.cn/img_w/wmts?tk=e90d56e5a09d1767899ad45846b0cefd&LAYER=img&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=tiles',
  15. raster_annotation: "http://t{0-7}.tianditu.gov.cn/cia_w/wmts?tk=e90d56e5a09d1767899ad45846b0cefd&LAYER=cia&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=tiles",
  16. national_boundary: 'http://t{0-7}.tianditu.gov.cn/ibo_w/wmts?tk=e90d56e5a09d1767899ad45846b0cefd&LAYER=ibo&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=tiles',
  17. jumpUrl: null,
  18. jumpUrlConfig: {
  19. qp: {
  20. // 三维场景发布与浏览
  21. threeSceneViewUrl: "http://10.235.245.174:2105/",
  22. // 三维场景搭建
  23. threeSceneBuildUrl: "http://10.235.245.174:2110/",
  24. },
  25. aly: {
  26. // 三维场景发布与浏览
  27. threeSceneViewUrl: "http://121.43.55.7:2102",
  28. // 三维场景搭建
  29. threeSceneBuildUrl: "http://121.43.55.7:2106",
  30. }
  31. },
  32. }
  33. systemConfig.jumpUrl = systemConfig.jumpUrlConfig[systemConfig.currentEnvir]