melvgomez

How do you get "Center" Initial Extent?

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

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.

Sources:
http://psstl.esri.com/apps/extenthelper/

http://help.arcgis.com/en/webapps/flexviewer/extenthelper/flexviewer_extenthelper.html

(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..

Outcomes