var queryByDistanceParams = new SuperMap.REST.QueryByDistanceParameters({
queryParams: queryParams,
returnContent: true,
distance: distance,
geometry: centerPoint
});
var queryService = new SuperMap.REST.QueryByDistanceService(currentservice.url, {
eventListeners: {
"processCompleted": geometryProcessCompleted,
"processFailed": processFailed
}
});
queryService.processAsync(queryByDistanceParams);
代码如上,在方法geometryProcessCompleted中的返回值如图