Select to view content in your preferred language

Please explain the initialextent parameters

729
1
07-16-2010 09:07 AM
DonBarker
Regular Contributor
OK.  ESRI says that non-programmers can use the Flex Viewer by editing the config files.  I'm a non-programmer.

So, could someone please explain the initialextent parameters?  Appears to require something other than simple lat, long, and zoom level (like Javascript API).

Sorry, I've searched all up and down the forum and don't find it.  Nor in the Getting Started pages.  Assumes we know this already.  I don't.

Thanks!
Tags (2)
0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor
The initial extent coordinates are in the same projection as the basemaps.  If you're using the current base maps from ArcGIS Online, then those coordinates need to be in Web Mercator.

To help you figure out these numbers, we've added an extent helper:  http://help.arcgis.com/en/webapps/flexviewer/help/extenthelper/flexviewer_extenthelper.html
Note that this will only help if you are using Web Mercator base maps.

Hope this helps, and thanks for letting us know where the documentation needs to be clearer 🙂
0 Kudos