What has to wait for map to be initialized?

375
0
01-27-2014 05:55 AM
KeithTurner
New Contributor III
The api reference states that a mapview has to be initialized before some properties and operations are available.  Is there a list available which tells what those are? 

The api reference appears to be inconsistent.  In the MapView reference, it says getresolution and getspatialreference.  In the reference for onstatuschangedlistener, it says "e.g., spatial reference of the map, center of the map or tile information of a tiled layer".  Under both getresolution and getspatialreference, the docs say "if the mapview is not initialized...", but getcenter doesn't mention anything about waiting for the mapview to initialize, which conflicts with what the onstatuschangedlistener docs state.

Thanks
Keith
0 Kudos
0 Replies