Skip to content

Commit 55e4a48

Browse files
committed
【feature】组件数据查询例子支持关键字查询; review by songym
1 parent 1b6ddf1 commit 55e4a48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/component/components_query_vue.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@
5252
restMap: [
5353
new SuperMap.Components.commontypes.RestMapParameter({
5454
url: host + "/iserver/services/map-world/rest/maps/World",
55-
attributeFilter: "SmID>0",
55+
attributeFilter: "he",
5656
maxFeatures: 30,
5757
layerName: "Rivers@World",
58+
queryMode: 'KEYWORD'
5859
})
5960
],
6061
}

src/common/mapping/WebMapV2.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ export function createWebMapV2Extending(SuperClass, { MapManager, mapRepo }) {
445445
layer.minzoom = Math.max(this._transformScaleToZoom(minScale, crs), 0);
446446
layer.maxzoom = Math.min(24, this._transformScaleToZoom(maxScale, crs) + 0.0000001);
447447
}
448-
console.log('_initOverlayLayers')
449448

450449
if (type === 'tile') {
451450
if (layer.autoUpdateTime) {

0 commit comments

Comments
 (0)