I need a component to select features by drawing a polygon. Do you know where this piece of code can be found? Thanks.
Instead of buffering a point just use the geometry of a drawing.
You will use the Draw Toolbar to draw your polygon geometry.
Then you will use the geometry to execute a QueryTask or a selectFeatures method on a FeatureLayer.
Thanks to both Rob and Tim. Both answers are correct. Sorry for the restriction to credit for 2.
You can always mark Roberts answer as helpful.
Retrieving data ...