配置文件更新
This commit is contained in:
parent
4259e48c70
commit
089716c2a8
|
@ -2,30 +2,49 @@
|
||||||
* @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 () {
|
||||||
;
|
var L = window.L || {}
|
||||||
(function() {
|
// // 定义底图初始化化参数
|
||||||
var L = window.L || {}
|
// 请在此处更改你的配置**********************************************
|
||||||
// // 定义底图初始化化参数
|
// eslint-disable-next-line no-undef
|
||||||
// 请在此处更改你的配置**********************************************
|
var CONFIGKEY = CONFIGITEM.version === 'xihaian' ? 'xihaian' : 'qingdao'
|
||||||
// eslint-disable-next-line no-undef
|
// var CONFIGKEY = 'dev';
|
||||||
var CONFIGKEY = CONFIGITEM.version === 'xihaian' ? 'xihaian' : 'qingdao'
|
// 请在上面更改你的配置***********************************************
|
||||||
// var CONFIGKEY = 'dev';
|
var BASECONFIGITEM = {
|
||||||
// 请在上面更改你的配置***********************************************
|
xihaian: {
|
||||||
var BASECONFIGITEM = {
|
base: 'xihaian',
|
||||||
xihaian: {
|
CURRENT_MAP_OPTIONS: {
|
||||||
base: 'xihaian',
|
// crs: CRS_4490,
|
||||||
CURRENT_MAP_OPTIONS: {
|
center: [36.17, 120.13],
|
||||||
// crs: CRS_4490,
|
maxZoom: 17,
|
||||||
center: [35.96, 120.19],
|
minZoom: 0,
|
||||||
maxZoom: 15,
|
zoom: 5,
|
||||||
minZoom: 0,
|
},
|
||||||
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],
|
||||||
|
|
Loading…
Reference in New Issue