Skip to content

Commit 43cba51

Browse files
committed
【fix】示范数据修改了,优化例子 review by luoxiao
1 parent 7d66c3e commit 43cba51

12 files changed

+13
-13
lines changed

examples/classic/query_getFeatureByIDs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_getFeatureByIDs">
9191
datasetNames: ["World:Countries"],
9292
fromIndex: 0,
9393
toIndex: -1,
94-
IDs: [1, 247]
94+
IDs: [1, 234]
9595
});
9696
getFeaturesByIDsService = new SuperMap.REST.GetFeaturesByIDsService(url2, {
9797
eventListeners: {"processCompleted": processCompleted, "processFailed": processFailed}

examples/classic/query_getFeatureBySQL.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_getFeatureBySQL">
8989

9090
getFeatureParam = new SuperMap.REST.FilterParameter({
9191
name: "Countries@World",
92-
attributeFilter: "SMID = 247"
92+
attributeFilter: "SMID = 234"
9393
});
9494
getFeatureBySQLParams = new SuperMap.REST.GetFeaturesBySQLParameters({
9595
queryParameter: getFeatureParam,

examples/leaflet/02_getFeatureByIDs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
function query() {
3030
var idsParam = new SuperMap.GetFeaturesByIDsParameters({
31-
IDs: [246, 247],
31+
IDs: [233, 234],
3232
datasetNames: ["World:Countries"]
3333
});
3434
L.supermap

examples/leaflet/02_getFeatureBySQL.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
var sqlParam = new SuperMap.GetFeaturesBySQLParameters({
3131
queryParameter: {
3232
name: "Countries@World",
33-
attributeFilter: "SMID = 247"
33+
attributeFilter: "SMID = 234"
3434
},
3535
datasetNames: ["World:Countries"]
3636
});
3737
L.supermap
3838
.featureService(url)
3939
.getFeaturesBySQL(sqlParam, function (serviceResult) {
40-
resultLayer = L.geoJSON(serviceResult.result.features).addTo(map).bindPopup('SMID = 247');
40+
resultLayer = L.geoJSON(serviceResult.result.features).addTo(map).bindPopup('SMID = 234');
4141
});
4242
}
4343
</script>

examples/mapboxgl/01_tiledMapLayer_4326.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
map.on('load', function() {
8383
//从 iServer 查询
8484
var idsParam = new SuperMap.GetFeaturesByIDsParameters({
85-
IDs: [247],
85+
IDs: [234],
8686
datasetNames: ['World:Countries']
8787
});
8888
var service = new mapboxgl.supermap.FeatureService(host + '/iserver/services/data-world/rest/data');

examples/mapboxgl/02_getFeatureByIDs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
//查询函数:
6262
function query() {
6363
var idsParam = new SuperMap.GetFeaturesByIDsParameters({
64-
IDs: [247],
64+
IDs: [234],
6565
datasetNames: ["World:Countries"]
6666
});
6767

examples/mapboxgl/02_getFeatureBySQL.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
var sqlParam = new SuperMap.GetFeaturesBySQLParameters({
6767
queryParameter: {
6868
name: "Countries@World",
69-
attributeFilter: "SMID = 247"
69+
attributeFilter: "SMID = 234"
7070
},
7171
datasetNames: ["World:Countries"]
7272
});

examples/mapboxgl/graticuleLayer_4326.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
map.on('load', function() {
5959
//从 iServer 查询
6060
var idsParam = new SuperMap.GetFeaturesByIDsParameters({
61-
IDs: [247],
61+
IDs: [234],
6262
datasetNames: ['World:Countries']
6363
});
6464
var service = new mapboxgl.supermap.FeatureService(host + '/iserver/services/data-world/rest/data');

examples/openlayers/02_getFeatureByIDs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
function query() {
4040
var idsParam = new SuperMap.GetFeaturesByIDsParameters({
41-
IDs: [246, 247],
41+
IDs: [233, 234],
4242
datasetNames: ["World:Countries"]
4343
});
4444
new ol.supermap.FeatureService(url).getFeaturesByIDs(idsParam, function (serviceResult) {

examples/openlayers/02_getFeatureBySQL.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
var sqlParam = new SuperMap.GetFeaturesBySQLParameters({
4141
queryParameter: {
4242
name: "Countries@World",
43-
attributeFilter: "SMID = 247"
43+
attributeFilter: "SMID = 234"
4444
},
4545
datasetNames: ["World:Countries"]
4646
});

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