var service = new SuperMap.REST.GetFeaturesByGeometryService(dataServiceUrl});
var parameters = new SuperMap.REST.GetFeaturesByGeometryParameters({
geometry: new SuperMap.Geometry.Point(86.378921, 33.210805),
spatialQueryMode: SuperMap.REST.WITHIN,
datasetNames: ["world:World"]
});
service.processAsync(parameters);
service response:
SuperMap.Util.RequestJSONP.supermap_callbacks[1495256051903628]({"succeed":false,"error":{"errorMsg":"The query object is not up to requirement, and it should be Point2D, Rectangle2D, Geometry, DatasetVector or Recordset.","code":400}},400)
GetFeaturesByGeometryParameters.geometry要求是SuperMap.Geometry, 而Point2D, Rectangle2D, Geometry, DatasetVector, Recordset是Java Classes,两者如何匹配?
谢谢!