Select to view content in your preferred language

Initial Extent bug in Flex API 2.3?

598
2
04-26-2011 12:16 PM
DavidElies
Deactivated User
Has anyone gotten the new initial extent to work in 2.3?  I find that when a new map is loaded with a base map from ArcGIS Online, I get the spatial reference from the base map, regardless of what is in the initial extent.  If I set the exent for the map manually (the old way), then it works as expected.
Tags (2)
0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
The initialExtent property is only used by the zoomToInitialExtent() method. You should still set the extent property as before.
0 Kudos
DavidElies
Deactivated User
Oh!  Okay.  Sorry about that.  That's good to know!
0 Kudos