| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- /*
- *公司初始化配置
- */
- export const esriConfig = {
- 'baseUrl': 'http://192.168.2.238:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/dojo/dojo.js',
- 'baseCssUrl': 'http://192.168.2.238:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/esri/css/main.css',
- 'font_url': 'http://192.168.2.238:8080/arcgis_js_api/v416/arcgis_js_api/library/fonts/',
- }
- export const iserverConfig = {
- // 'baseUrl': 'http://117.174.10.73:8090/iserver/'
- 'baseUrl': 'http://192.168.2.238:8090/iserver/'
- }
- export const appconfig = {
- // 底图是否采用在线地图,true在线,false离线
- 'isonline': true,
- // 是否根据后台配置服务
- 'isloadServer': true,
- // 天地图秘钥
- // 'tianMapKey': '700ea8c1e2dd873c349dc880169fd96d',
- 'tianMapKey': '9248d7f5b183142e4f1d5c908fba42e0',
- // 打印模板
- 'templateFolder': 'D:/xrty/template',
- // 地图初始视角中心
- // 'initCenter': { 'x': 104.44483, 'y': 30.85523 },
- // 临时使用
- 'initCenter': [101.724022, 26.580702],
- // [101.724022, 26.580702] 攀枝花
- // [104.1958, 30.0181] 仁寿
- 'initLayers': 'pipemap&&smlayergroup', // 用于配置图层树 pipemap&&group
- // 地图初始视角级别
- 'initZoom': 15,
- // token
- 'usertoken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJVc2VySUQiOiIiLCJVU0VSTkFNRSI6IiIsIlJFQUxOQU1FIjoiIiwiV0tJRCI6NDU0NCwiUkFOR0UiOiJYUlRZIiwiUkFOR0VGSUVMRCI6bnVsbCwiQ09ERSI6IlhSVFkiLCJDT05ORUNUU1RSIjoiREFUQUJBU0U9b3JjbDtORVROQU1FPTE5Mi4xNjguMi4yNDIvb3JjbDtTRVJWRVI9MTkyLjE2OC4yLjI0MjtVU0VSSUQ9dGZfeHJ0eV9nZW87UEFTU1dPUkQ9dGZfeHJ0eV9nZW87UE9SVD0xNTIxQDUxNTEvdGNwO1ZFUlNJT049c2RlLkRFRkFVTFQiLCJCb3JuVGltZSI6MCwiQXBwSUQiOm51bGx9.bMNoX6nsvNYukk47_UnT9IHGlNIWclbmiXTj3ak1i5KuF5LGexfwV7TwF80nP08GEPaNwScgk7lbJkRHcqtT8w',
- //大屏地图服务
- 'bigScreenMapService': {
- 'initPosition': { lon: 111.286471, lat: 30.691967, height: 50159.21860055598 },
- 'initZoom': 16,
- "gisResource": {
- "terrain": {
- "name": "地形",
- "type": "terrain",
- "config": [
- {
- "key": "dixing",
- "name": "地形",
- "url": "http://192.168.2.238:8090/iserver/services/3D-sxgk_dem/rest/realspace/datas/TF_PAPN_DEM@sxgk_base"
- }
- ]
- },
- "img": {
- "name": "离线影像服务",
- "type": "tiled",
- "config": [
- {
- "key": "chinavec2d",
- "name": "中国电子地图",
- "url": "https://yeepms.yeec.com.cn/iserver/services/map-citymap/rest/maps/citymap_yc"
- },
- ]
- },
- "scenes": {
- "name": "场景服务",
- "type": "scene",
- "config": [
- {
- "key": "jzcj",
- "name": "建筑场景",
- "url": "https://yeepms.yeec.com.cn/iserver/services/3D-TF_PAPN_BUILD/rest/realspace"
- },
- ]
- },
- "maps": {
- "name": "地图服务",
- "type": "map",
- "config": [
- {
- "key": "dtcj",
- "name": "工程项目管网",
- "url": "http://192.168.2.238:8090/iserver/services/map-sxgc_pipe/rest/maps/gcgl_pipe"
- }
- ]
- },
- "tiplayers": {
- "name": "数据服务",
- "type": "data",
- "config": [
- {
- "key": "sjfw",
- "name": "数据服务",
- "url": "http://192.168.2.238:8090/iserver/services/data-sxgc_pipe/rest/data"
- }
- ]
- },
- "theme": {
- "name": "专题地图服务",
- "type": "theme",
- "config": [
- // {
- // "key": "sjtypedt",
- // "name": "岳阳设计管线类型专题图",
- // "url":"https://yeepms.yeec.com.cn/iserver/services/map-sxgk/rest/maps/hnyy_type"
- // }
- ]
- }
- }
- }
- }
|