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 1717 url = host + '/iserver/services/map-world/rest/maps/World' ;
1818
1919 // 方式一: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 ) ;
2121 /*
2222 // 方式二:1.调用 L.supermap.MapService,获取 SuperMap iServer 地图服务的地图信息
2323 // 2.调用 L.supermap.crsFromMapJSON 创建 CRS
Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ export var getRequestTimeout = function () {
282282
283283/**
284284 * @function setRequestHeaders
285+ * @version 12.0.0
285286 * @category BaseTypes Util
286287 * @description 设置请求自定义 request headers。
287288 * @param {function } func - 请求自定义 request headers 回调函数。
You can’t perform that action at this time.
0 commit comments