How do you get "Center" Initial Extent?

Discussion created by melvgomez on May 30, 2013
Latest reply on May 30, 2013 by vinaybansal

I am trying to figure out how to get the "Center" initial extent vs the xy min and max? I have tried a couple of ways using the following sources, but still am unable to figure it out. Any help would be greating appreciated.


(with this flexviewer/extenthelper, i've tried using the "current mouse coordinates," but not getting the extent.)

I am looking for the "center" initial extent I've attached below:

map = new esri.Map("map", {
          basemap: "streets",
          center: [-98.49946448681641, 29.4205708789947],
          zoom: 10,
          infoWindow: popup


Please help. Thanks..