I have a feature class of points. My client wants to draw a polygon on the map to select the subset of points inside the drawn polygon. Is there any tools in ArcGIS API, which I can use it for this purpose? if there is a sample for ArcGIS API for Flex, that would be great.


You can use this sample available with Flex API. enter image description here

If you are going to work with this functionality and require more advanced features, consider using GP services. See sample here.

enter image description here

| improve this answer | |
  • Alex, I have another question for you. Is there any possibility that I can use the same functionality to select features from more than one feature class? – Fred May 5 '14 at 18:32
  • 1
    @Fred, should be. You'd probably need to catch the selection event for multiple services, yet I haven't worked with Flex on this task, cannot guide you here, sorry. Implementing this via GP services can be easily done - you just select features from multiple map services. – Alex Tereshenkov May 5 '14 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.