lkeitht

What has to wait for map to be initialized?

Discussion created by lkeitht on Jan 27, 2014
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

Outcomes