Skip to content

Commit 483c3eb

Browse files
committed
【example】更新online例子
1 parent 0d8959d commit 483c3eb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/leaflet/onlineSecurity.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ <h4 data-i18n="resources.title_onlineSecurity"></h4>
125125
//若示例与SuperMap Online不在同一域下,欲查看示例效果请打开该句注释
126126
//SuperMap.Support.cors = false;
127127
$(document).ready(function () {
128-
$("#serviceUrl_online").val("https://www.supermapol.com/iserver/services/bsaq89v0/rest/maps/World");
129-
$('#key_online').val("Ie2kriXZZz9GPevFDBQzgLRf");
130-
$("#serviceUrlMap_online").val("https://www.supermapol.com/iserver/services/bsaq89v0/rest/maps/World");
131-
$('#mapKey_online').val("Ie2kriXZZz9GPevFDBQzgLRf");
128+
$("#serviceUrl_online").val("https://www.supermapol.com/proxy/u8ln9hj3/iserver/services/map-world/rest/maps/World");
129+
$('#key_online').val("6hAJDddxt9Xv4s3j8bauH61K");
130+
$("#serviceUrlMap_online").val("https://www.supermapol.com/proxy/u8ln9hj3/iserver/services/map-world/rest/maps/World");
131+
$('#mapKey_online').val("6hAJDddxt9Xv4s3j8bauH61K");
132132
});
133133

134134
/*登录*/

examples/openlayers/onlineSecurity.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ <h4 data-i18n="resources.title_onlineSecurity"></h4>
124124
//若示例与SuperMap Online不在同一域下,欲查看示例效果请打开该句注释
125125
//SuperMap.Support.cors = false;
126126
$(document).ready(function () {
127-
$("#serviceUrl_online").val("http://www.supermapol.com/iserver/services/bsaq89v0/rest/maps/World");
128-
$('#key_online').val("Ie2kriXZZz9GPevFDBQzgLRf");
129-
$("#serviceUrlMap_online").val("http://www.supermapol.com/iserver/services/bsaq89v0/rest/maps/World");
130-
$('#mapKey_online').val("Ie2kriXZZz9GPevFDBQzgLRf");
127+
$("#serviceUrl_online").val("https://www.supermapol.com/proxy/u8ln9hj3/iserver/services/map-world/rest/maps/World");
128+
$('#key_online').val("6hAJDddxt9Xv4s3j8bauH61K");
129+
$("#serviceUrlMap_online").val("https://www.supermapol.com/proxy/u8ln9hj3/iserver/services/map-world/rest/maps/World");
130+
$('#mapKey_online').val("6hAJDddxt9Xv4s3j8bauH61K");
131131

132132
});
133133

0 commit comments

Comments
 (0)