We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b2a2a commit 406c13fCopy full SHA for 406c13f
2 files changed
examples/leaflet/01_tiledMapLayer4326.html
@@ -17,7 +17,7 @@
17
url = host + '/iserver/services/map-world/rest/maps/World';
18
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');
+ L.supermap.initMap(url);
21
/*
22
// 方式二:1.调用 L.supermap.MapService,获取 SuperMap iServer 地图服务的地图信息
23
// 2.调用 L.supermap.crsFromMapJSON 创建 CRS
src/common/util/FetchRequest.js
@@ -282,6 +282,7 @@ export var getRequestTimeout = function () {
282
283
/**
284
* @function setRequestHeaders
285
+ * @version 12.0.0
286
* @category BaseTypes Util
287
* @description 设置请求自定义 request headers。
288
* @param {function} func - 请求自定义 request headers 回调函数。
0 commit comments