mar1lzk

Change the map extent of the fly

Discussion created by mar1lzk on Oct 31, 2011
Latest reply on Oct 31, 2011 by jarcher-esristaff
I would like to have a button on my web page that when a user clicks on button it automatically resets teh map's extents to the default extent when map was initially loaded. Has any one done this before?  I think I will need to create a function that calls the map.setExtent. Can someone provide me some sample code?

Outcomes