uperMap.REST.FilterParameter [已关闭]

0 投票
想进行多个图层的属性查询,调用的是SuperMap.REST.QueryBySQLService,参考了官方CSDN上的代码,但一直报查询失败,请问现在不能这么用了吗?

这个是官方CSDN上的代码

var queryParam = [], queryBySQLParams, queryBySQLService;
queryParam[0] = new SuperMap.REST.FilterParameter({
       name: "Countries@World.1",
       attributeFilter: "Pop_1994>1000000000 and SmArea>900"
});
queryParam[1] = new SuperMap.REST.FilterParameter({
        name: "Captials@World.1",
        attributeFilter: "Pop_1994>1000000000 and SmArea>900"
});
queryBySQLParams = new SuperMap.REST.QueryBySQLParameters({
        queryParams: [queryParam]
});
queryBySQLService = new SuperMap.REST.QueryBySQLService(url, {
    eventListeners: {"processCompleted": processCompleted,   "processFailed": processFailed}});
   queryBySQLService.processAsync(queryBySQLParams);
问题关闭原因: 已解决
12月 8, 2020 分类:  135次浏览 | 用户: shenwuyuex11 初出茅庐 (74 分)
已关闭 12月 8, 2020 用户:shenwuyuex11
...