Select to view content in your preferred language

How can I obtain the intersection area of two graphics

888
5
10-06-2010 01:46 PM
FabianoScardua
Emerging Contributor
How can I obtain the intersection area of two graphics?

Thank's
Tags (2)
0 Kudos
5 Replies
BjornSvensson
Esri Regular Contributor
0 Kudos
FabianoScardua
Emerging Contributor
You have an example?
0 Kudos
BjornSvensson
Esri Regular Contributor
You have an example?

No, sorry 😞
0 Kudos
FabianoScardua
Emerging Contributor
ok, so you know how can i get result of intersect function?
0 Kudos
BjornSvensson
Esri Regular Contributor
Hi Fabiano, I'm not sure how familiar you are with the Flex API in general or the GeometryService in particular, so this might not be the answer you are looking for...

In general, all of the GeometryService operations work the same, whether it's a projection, buffering, intersecting etc.  Thus, any/all of the eight live samples listed under the See also on the API Reference for GeometryService might be helpful:
http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/GeometryService.html
Try for example the Live Sample - using projectComplete with a GeometryService.

The basic flow is to use the operation (for example intersect method) which will send the request to the server, once the response comes back, an event is thrown to indicate that the operation is complete (for example intersectComplete).  If you would rather use a responder than the complete event, then you could do that instead.

Hope this helps...
0 Kudos