I'm using ArcGIS 10.0 flex API 3.0.
I'd like to test if two geometries are equal.
For that, the relation method is called like follows:
var relationParameters:RelationParameters = new RelationParameters();
relationParameters.geometries1 = [geom1];
relationParameters.geometries2 = [geom2];
relationParameters.spatialRelationship = RelationParameters.SPATIAL_REL_RELATION;
relationParameters.comparisonString = "IDENTICAL (G1, G2) = TRUE";
_geometryService.addEventListener(GeometryServiceEvent.RELATION_COMPLETE, onGeomCompared);
_geometryService.relation(relationParameters);
The service is supposed to return a boolean that tells if the two geometries are equal or not. Isn't it?
The GeometryServiceEvent returned by the service doesn't contain any boolean and the result object of the event is empty.
How can I get the response of the service for my request?