123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
-
- export const esriConfig = {
- 'baseUrl': 'http://221.182.8.141:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/dojo/dojo.js',
- 'baseCssUrl': 'http://221.182.8.141:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/esri/css/main.css',
- 'font_url': 'http://221.182.8.141:8080/arcgis_js_api/v416/arcgis_js_api/library/fonts/',
- }
- export const iserverConfig = {
-
- 'baseUrl': 'http://221.182.8.141:8090/iserver/'
- }
- export const appconfig = {
-
- 'isonline': true,
-
- 'isloadServer': true,
-
-
- 'tianMapKey': '9248d7f5b183142e4f1d5c908fba42e0',
-
- 'templateFolder': 'D:/xrty/template',
-
-
-
- 'currPRJ': 'proj47',
- 'currCenter': { "lon": "113.17326715436977", "lat": "29.37027846440258", "height": "50159.21860055598" },
-
- 'initLayers': 'pipemap&&smlayergroup',
-
- 'initZoom': 15,
-
- 'usertoken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJVc2VySUQiOiIiLCJVU0VSTkFNRSI6IiIsIlJFQUxOQU1FIjoiIiwiV0tJRCI6NDU0NCwiUkFOR0UiOiJYUlRZIiwiUkFOR0VGSUVMRCI6bnVsbCwiQ09ERSI6IlhSVFkiLCJDT05ORUNUU1RSIjoiREFUQUJBU0U9b3JjbDtORVROQU1FPTE5Mi4xNjguMi4yNDIvb3JjbDtTRVJWRVI9MTkyLjE2OC4yLjI0MjtVU0VSSUQ9dGZfeHJ0eV9nZW87UEFTU1dPUkQ9dGZfeHJ0eV9nZW87UE9SVD0xNTIxQDUxNTEvdGNwO1ZFUlNJT049c2RlLkRFRkFVTFQiLCJCb3JuVGltZSI6MCwiQXBwSUQiOm51bGx9.bMNoX6nsvNYukk47_UnT9IHGlNIWclbmiXTj3ak1i5KuF5LGexfwV7TwF80nP08GEPaNwScgk7lbJkRHcqtT8w',
- }
- export function setParams (xzq) {
- console.log('设置坐标')
- const parmas = {
- '宜昌': { proj: 'proj46', center: { "lon": "111.291353", "lat": "30.705687", "height": "30159.21860055598" } },
- '岳阳': { proj: 'proj47', center: { "lon": "113.17326715436977", "lat": "29.37027846440258", "height": "30159.21860055598" } },
- }
- let { proj, center } = parmas[xzq]
- appconfig.currCenter = center
- appconfig.currPRJ = proj
-
- }
|