Skip to content

Commit 406c13f

Browse files
committed
fix 示例误提&add version
1 parent 59b2a2a commit 406c13f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/leaflet/01_tiledMapLayer4326.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
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

src/common/util/FetchRequest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 回调函数。

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy