Skip to content

Commit 067f8ec

Browse files
[update] 将classic, openlayers, leaflet, components示例中map-china400服务替换为map-china服务
(edit by zq, review by hzp)
1 parent d497967 commit 067f8ec

File tree

240 files changed

+342
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+342
-342
lines changed

examples/classic/OGC_kml.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h5 class='panel-title text-center'>Kml</h5>
3636
<script>
3737
var map, layer, loaded = false,
3838
host = window.isLocal ? window.server : "https://iserver.supermap.io";
39-
url = host + "/iserver/services/map-china400/rest/maps/China";
39+
url = host + "/iserver/services/map-china/rest/maps/China";
4040
map = new SuperMap.Map("map", {
4141
controls: [
4242
new SuperMap.Control.ScaleLine(),

examples/classic/OGC_wms.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ <h5 class='panel-title text-center' data-i18n="resources.text_wms"></h5>
5050
<script type="text/javascript">
5151
var map, layer, wms1, wms2, wms3, wms4, newHtml, projectionSelect, versionSelect, lastLayer, mapDiv,
5252
host = window.isLocal ? window.server : "https://iserver.supermap.io";
53-
var url1 = host + "/iserver/services/map-china400/wms130/China";
54-
var url2 = host + "/iserver/services/map-china400/wms130/China_4326";
55-
var url3 = host + "/iserver/services/map-china400/wms111/China";
56-
var url4 = host + "/iserver/services/map-china400/wms111/China_4326";
53+
var url1 = host + "/iserver/services/map-china/wms130/China";
54+
var url2 = host + "/iserver/services/map-china/wms130/China_4326";
55+
var url3 = host + "/iserver/services/map-china/wms111/China";
56+
var url4 = host + "/iserver/services/map-china/wms111/China_4326";
5757
map = new SuperMap.Map('map', {
5858
controls: [new SuperMap.Control.Zoom(),
5959
new SuperMap.Control.Navigation(),

examples/classic/addressMatchService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<script type="text/javascript">
132132
var host = window.isLocal ? window.server : "https://iserver.supermap.io";
133133
var infowin, layer, markerlayer,
134-
url = host + "/iserver/services/map-china400/rest/maps/China_4326",
134+
url = host + "/iserver/services/map-china/rest/maps/China_4326",
135135
addressUrl = host + "/iserver/services/addressmatch-Address/restjsr/v1/address",
136136
imgUrl = "../img/marker.png",
137137
addressMatchService = new SuperMap.REST.AddressMatchService(addressUrl, {data: '11'}),

examples/classic/controler_changeControlsSkin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h5 class='panel-title text-center' data-i18n="resources.text_changeControlsSkin
3636
<script type="text/javascript">
3737
var map, layer,
3838
host = window.isLocal ? window.server : "https://iserver.supermap.io",
39-
url = host + "/iserver/services/map-china400/rest/maps/China";
39+
url = host + "/iserver/services/map-china/rest/maps/China";
4040
function addMap() {
4141
//初始化地图
4242
map = new SuperMap.Map("map", {

examples/classic/controler_drawGeometry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h5 class='panel-title text-center' data-i18n="resources.text_drawGeometry"></h5
4343
<script type="text/javascript">
4444
var map, layer, drawPoint, drawLine, drawPolygon, vecotrLayer, selectCtrl,
4545
host = window.isLocal ? window.server : "https://iserver.supermap.io";
46-
url = host + "/iserver/services/map-china400/rest/maps/China_4326";
46+
url = host + "/iserver/services/map-china/rest/maps/China_4326";
4747
//新建面矢量图层
4848
vecotrLayer = new SuperMap.Layer.Vector("polygonLayer");
4949
drawPoint = new SuperMap.Control.DrawFeature(vecotrLayer, SuperMap.Handler.Point, {multi: true});

examples/classic/controler_geolocate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_geolocateControl"
3737
<script type="text/javascript">
3838
var map, layer, positionLayer,geolocate,
3939
host = window.isLocal ? window.server : "https://iserver.supermap.io";
40-
url = host + "/iserver/services/map-china400/rest/maps/China";
40+
url = host + "/iserver/services/map-china/rest/maps/China";
4141
map = new SuperMap.Map("map", {
4242
controls: [
4343
new SuperMap.Control.ScaleLine(),

examples/classic/mapVLayerHoneycomb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
var map,
1818
baseLayer,
1919
mapvLayer,
20-
url = host + '/iserver/services/map-china400/rest/maps/China_4326';
20+
url = host + '/iserver/services/map-china/rest/maps/China_4326';
2121

2222
init();
2323

examples/classic/mapVLayerPolylineSimple.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<script type="text/javascript">
1717
var host = window.isLocal ? window.server : "https://iserver.supermap.io";
1818
var map, baseLayer, mapvLayer,
19-
url = host + "/iserver/services/map-china400/rest/maps/China_4326";
19+
url = host + "/iserver/services/map-china/rest/maps/China_4326";
2020

2121
init();
2222

examples/classic/others_SM_OSMBuildings_DrawBuildings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h5 class='panel-title text-center'>Supermap OSM BUildings Draw Data</h5>
5252
<script type="text/javascript">
5353
var map, layer, polygonLayer, drawPolygon, osm, featureID = 0,
5454
host = window.isLocal ? window.server : "https://iserver.supermap.io",
55-
url = host + "/iserver/services/map-china400/rest/maps/China";
55+
url = host + "/iserver/services/map-china/rest/maps/China";
5656

5757
//检测浏览器是否支持canves,Buildings 需要Canvas绘制
5858
if (!document.createElement('canvas').getContext) {

examples/classic/others_SM_OSMBuildings_RestData.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script type="text/javascript">
1515
var map, layer, osm, dataurl,alertDiv,
1616
host = window.isLocal ? window.server : "https://iserver.supermap.io";
17-
url = host + "/iserver/services/map-china400/rest/maps/China";
17+
url = host + "/iserver/services/map-china/rest/maps/China";
1818
dataurl = host + "/iserver/services/data-jingjin/rest/data";
1919

2020
//检测浏览器是啥支持canves Buildings 需要Canvas绘制

0 commit comments

Comments
 (0)