配置文件更新
This commit is contained in:
parent
f795484416
commit
3076ab83c2
|
@ -2,13 +2,12 @@
|
||||||
* @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-08-25 11:16:44
|
* @LastEditTime: 2022-11-21 17:06:10
|
||||||
* @Description: 地图静态参数配置
|
* @Description: 地图静态参数配置
|
||||||
*/
|
*/
|
||||||
var _mapConfig = {}
|
var _mapConfig = {}
|
||||||
|
|
||||||
;
|
;(function () {
|
||||||
(function() {
|
|
||||||
var L = window.L || {}
|
var L = window.L || {}
|
||||||
// // 定义底图初始化化参数
|
// // 定义底图初始化化参数
|
||||||
// 请在此处更改你的配置**********************************************
|
// 请在此处更改你的配置**********************************************
|
||||||
|
@ -22,7 +21,7 @@ var _mapConfig = {}
|
||||||
CURRENT_MAP_OPTIONS: {
|
CURRENT_MAP_OPTIONS: {
|
||||||
// crs: CRS_4490,
|
// crs: CRS_4490,
|
||||||
center: [35.96, 120.19],
|
center: [35.96, 120.19],
|
||||||
maxZoom: 13,
|
maxZoom: 18,
|
||||||
minZoom: 0,
|
minZoom: 0,
|
||||||
zoom: 5,
|
zoom: 5,
|
||||||
},
|
},
|
||||||
|
@ -56,13 +55,15 @@ var _mapConfig = {}
|
||||||
},
|
},
|
||||||
MAP_VENDOR: 'Supermap', // 地图厂商 Supermap bdmap 3dbdmap
|
MAP_VENDOR: 'Supermap', // 地图厂商 Supermap bdmap 3dbdmap
|
||||||
TITLE_LAYER: {
|
TITLE_LAYER: {
|
||||||
mapUrl: 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F',
|
mapUrl:
|
||||||
|
'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F',
|
||||||
type: 'tiled',
|
type: 'tiled',
|
||||||
name: '矢量',
|
name: '矢量',
|
||||||
icon: 'vector_map.png',
|
icon: 'vector_map.png',
|
||||||
},
|
},
|
||||||
TITLE_LAYER_REMOTE: {
|
TITLE_LAYER_REMOTE: {
|
||||||
mapUrl: 'http://q3d.qd.gov.cn:8195/portalproxy/vw6bffpy/TileServer/arcgis/rest/services/normal_2021_4490Arcgis/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F',
|
mapUrl:
|
||||||
|
'http://q3d.qd.gov.cn:8195/portalproxy/vw6bffpy/TileServer/arcgis/rest/services/normal_2021_4490Arcgis/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F',
|
||||||
type: 'tiled',
|
type: 'tiled',
|
||||||
name: '矢量',
|
name: '矢量',
|
||||||
icon: 'vector_map.png',
|
icon: 'vector_map.png',
|
||||||
|
@ -70,7 +71,8 @@ var _mapConfig = {}
|
||||||
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
|
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
|
||||||
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.2.21.238:8090/iserver/services/map-ugcv5-QingdaoRemoteImageMap/rest/maps/QingdaoRemoteImageMap', type: 'remote', name: '影像', icon: 'satellite_map.png' },
|
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.2.21.238:8090/iserver/services/map-ugcv5-QingdaoRemoteImageMap/rest/maps/QingdaoRemoteImageMap', type: 'remote', name: '影像', icon: 'satellite_map.png' },
|
||||||
TITLE_LAYER_DARK: {
|
TITLE_LAYER_DARK: {
|
||||||
mapUrl: 'http://15.2.21.238:8090/iserver/services/map-ugcv5-shandong/rest/maps/shandong',
|
mapUrl:
|
||||||
|
'http://15.2.21.238:8090/iserver/services/map-ugcv5-shandong/rest/maps/shandong',
|
||||||
type: 'dark',
|
type: 'dark',
|
||||||
name: '其他',
|
name: '其他',
|
||||||
icon: 'other_map.png',
|
icon: 'other_map.png',
|
||||||
|
@ -79,22 +81,26 @@ var _mapConfig = {}
|
||||||
}
|
}
|
||||||
var MAPCONFIGMIXTRE = {
|
var MAPCONFIGMIXTRE = {
|
||||||
CURRENT_SERVER_NAME: CONFIGKEY,
|
CURRENT_SERVER_NAME: CONFIGKEY,
|
||||||
BUFFER_URL: 'http://' +
|
BUFFER_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/spatialAnalysis-' +
|
'/iserver/services/spatialAnalysis-' +
|
||||||
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
||||||
'/restjsr/spatialanalyst',
|
'/restjsr/spatialanalyst',
|
||||||
QUERY_URL: 'http://' +
|
QUERY_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/map-HIMAP_HIGHGO/rest/maps/' +
|
'/iserver/services/map-HIMAP_HIGHGO/rest/maps/' +
|
||||||
BASECONFIGITEM[CONFIGKEY].MAP_NAME,
|
BASECONFIGITEM[CONFIGKEY].MAP_NAME,
|
||||||
// QUERY_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/data-HIMAP_HIGHGO/rest/data/datasources/HISENSE_himap',
|
// QUERY_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/data-HIMAP_HIGHGO/rest/data/datasources/HISENSE_himap',
|
||||||
DYNAMIC_ROAD_URL: 'http://' +
|
DYNAMIC_ROAD_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/spatialAnalysis-' +
|
'/iserver/services/spatialAnalysis-' +
|
||||||
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
||||||
'/restjsr/spatialanalyst',
|
'/restjsr/spatialanalyst',
|
||||||
DYNMIC_URL: 'http://' +
|
DYNMIC_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/map-' +
|
'/iserver/services/map-' +
|
||||||
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
||||||
|
@ -103,16 +109,20 @@ var _mapConfig = {}
|
||||||
// 数据库型
|
// 数据库型
|
||||||
// NETWORK_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/transportationAnalyst-' + BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME + '/rest/networkanalyst/BuildNetwork_2@' + BASECONFIGITEM[CONFIGKEY].DATASOURCE_NAME,
|
// NETWORK_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/transportationAnalyst-' + BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME + '/rest/networkanalyst/BuildNetwork_2@' + BASECONFIGITEM[CONFIGKEY].DATASOURCE_NAME,
|
||||||
// 程工系统测试环境,因为是文件型,和数据库性有区别,发布时请注意
|
// 程工系统测试环境,因为是文件型,和数据库性有区别,发布时请注意
|
||||||
NETWORK_URL: 'http://' +
|
NETWORK_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/transportationAnalyst-road/rest/networkanalyst/BuildNetwork_2@road',
|
'/iserver/services/transportationAnalyst-road/rest/networkanalyst/BuildNetwork_2@road',
|
||||||
PLOTTING_URL: 'http://' +
|
PLOTTING_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/plot-JY/rest/plot/',
|
'/iserver/services/plot-JY/rest/plot/',
|
||||||
POI_URL: 'http://' +
|
POI_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
|
'/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
|
||||||
EDITORDATA_URL: 'http://' +
|
EDITORDATA_URL:
|
||||||
|
'http://' +
|
||||||
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
|
||||||
'/iserver/services/data-' +
|
'/iserver/services/data-' +
|
||||||
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
|
||||||
|
|
Loading…
Reference in New Issue