File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 17
17
url = host + '/iserver/services/map-world/rest/maps/World' ;
18
18
19
19
// 方式一:1.调用 L.supermap.initMap,根据 SuperMap iServer 地图服务的地图信息,创建地图和底图
20
- L . supermap . initMap ( 'http://172.16.15.155:8090/iserver/services/map-WorkSpace-2/rest/maps/%E9%84%82%E5%B0%94%E5%A4%9A%E6%96%AF1' ) ;
20
+ L . supermap . initMap ( url ) ;
21
21
/*
22
22
// 方式二:1.调用 L.supermap.MapService,获取 SuperMap iServer 地图服务的地图信息
23
23
// 2.调用 L.supermap.crsFromMapJSON 创建 CRS
Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ export var getRequestTimeout = function () {
282
282
283
283
/**
284
284
* @function setRequestHeaders
285
+ * @version 12.0.0
285
286
* @category BaseTypes Util
286
287
* @description 设置请求自定义 request headers。
287
288
* @param {function } func - 请求自定义 request headers 回调函数。
You can’t perform that action at this time.
0 commit comments