使用产品:iserver-9.0.0-win64 、iClient for JavaScript 9D
操作系统:win10 x64
数据类型: 文件型
//
function queryFeatures(filterName,datasetName,condition) {
var getFeatureParam, getFeatureBySQLService, getFeatureBySQLParams;
getFeatureParam = new SuperMap.REST.FilterParameter({
//
name: filterName,
attributeFilter: condition
});
getFeatureBySQLParams = new SuperMap.REST.GetFeaturesBySQLParameters({
queryParameter: getFeatureParam,
//
datasetNames: [datasetName],
//
toIndex:-1,
maxFeatures: 2000
});
getFeatureBySQLService = new SuperMap.REST.GetFeaturesBySQLService(url, {
eventListeners:{"processCompleted": processCompletedForBase,"processFailed": processFailed}
}
getFeatureBySQLService.maxFeatures = 2000;
getFeatureBySQLService.processAsync(getFeatureBySQLParams);
}
求问怎么解决,谢谢!