Hello,
I have a web application that provides the user with several different options to subset the visible features on the map. Most of the subset criteria is applied using a layer's definition expression. One way I would like to allow the user to subset the visible features is to allow the user to draw a polygon on the map and only the features that are within the polygon get displayed. What is the best way to achieve this behavior?
I am currently using ArcGIS Flex API and the layer type is an ArcGISDynamicMapServiceLayer.