AnsweredAssumed Answered

Setting extent of selected features

Question asked by bforbhavin on Aug 6, 2014
Latest reply on Aug 7, 2014 by jskinner-esristaff

How to evaluate extent after selecting features on the map? The scenario is - I search for equipment withing given radius (e.g. 100 feet, 100 miles etc). After they found, I highlight them on map. Once I highlight them then I want to show them (or set an extent) such a way so, all highlighted features appear on the map that appears on the screen. This can be for point, polygon or polyline features and can be on multiple layers. I am using ArcGISDynamicServiceLayer to show the map.

 

I thought one way to use union of Extent class but it doesn't seem to work in all the cases. It's not zooming in/out at sufficient level. Also, how the extent of the feature is evaluated?

Outcomes