var queryServiceUrl =
var getFeatureParam, getFeatureBySQLService, getFeatureBySQLParams;
var queryDatasetName="";
getFeatureParam = new SuperMap.REST.FilterParameter({
name: queryDatasetName + "@3DDataset",
attributeFilter: "SmID ="+buildno
});
getFeatureBySQLParams = new SuperMap.REST.GetFeaturesBySQLParameters({
queryParameter: getFeatureParam,
toIndex:-1,
datasetNames: ["3DDataset:" + queryDatasetName]
});
getFeatureBySQLService = new SuperMap.REST.GetFeaturesBySQLService(queryServiceUrl, {
eventListeners: {"processCompleted": onQueryComplete, "processFailed": processFailed}});
getFeatureBySQLService.processAsync(getFeatureBySQLParams);
谢谢大神了