zoom factor on map with buffer geometry

Discussion created by bforbhavin on Jun 23, 2014
Latest reply on Jun 23, 2014 by NSager-esristaff
I am trying to implement similar functionality in my project as per the following url. This example shows the circle with radius of 1 mile when you click on the map. Now, if you change the radius to 10 miles then circle won't be visible on the screen. You will have to zoom-out to see that. Also, features disappear when you zoom-out. How to render map such a way so, circle and selected features are in full visibility on the screen with appropriate zoom factor? Then user won't need to manually perform zoom-in/zoom-out to see the result of buffer search.