配置文件更新

This commit is contained in:
wuhongjian 2022-11-21 20:42:03 +08:00
parent 4259e48c70
commit 089716c2a8
1 changed files with 40 additions and 21 deletions

View File

@ -2,13 +2,11 @@
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23 * @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-11-21 19:21:42 * @LastEditTime: 2022-11-21 20:41:44
* @Description: 地图静态参数配置 * @Description: 地图静态参数配置
*/ */
var _mapConfig = {} var _mapConfig = {}
;(function () {
;
(function() {
var L = window.L || {} var L = window.L || {}
// // // //
// ********************************************** // **********************************************
@ -21,12 +19,33 @@ var _mapConfig = {}
base: 'xihaian', base: 'xihaian',
CURRENT_MAP_OPTIONS: { CURRENT_MAP_OPTIONS: {
// crs: CRS_4490, // crs: CRS_4490,
center: [35.96, 120.19], center: [36.17, 120.13],
maxZoom: 15, maxZoom: 17,
minZoom: 0, minZoom: 0,
zoom: 5, zoom: 5,
}, },
}, },
qingdao: {
DATABASE_TYPE: 'Highgo',
POI_TYPE: 'Supermap', // POI 'Supermap''Amap''Survey_Institute'
ISERVER_URL: '15.2.21.238:8090',
WORKPLACE_NAME: 'HIMAP-HIGHGO',
MAP_NAME: 'QDMAP',
DATASOURCE_NAME: 'HISENSE_map',
ATMOSPHERE_URL: 'http://15.2.21.151:9015/service-main',
CURRENT_MAP_OPTIONS: {
// crs: CRS_4490,
center: [36.17, 120.13],
maxZoom: 18,
minZoom: 0,
zoom: 10,
},
BDMAP_CONFIG: {
location: 'qingdao',
_initpos: {
point: [120.392795, 36.072854],
zoom: 2,
},
_keyframes: [ _keyframes: [
[121.6011191295479, 36.73422934263509], [121.6011191295479, 36.73422934263509],
[119.83371870221472, 36.082854], [119.83371870221472, 36.082854],