dkwan07

switching base map on android

Discussion created by dkwan07 on Oct 10, 2012
Latest reply on Apr 1, 2014 by cdixon
Dear all,
       I found "The first layer that is added to the MapView using either approach presented previously will defines its initial extent, resolution, and spatial reference for the entire map. To change any of these attributes, use the corresponding setter methods; otherwise the MapView will maintain these initial values during the lifetime of the object." in MapView API Reference page.

     the problem is, when i switch local map to arcgis online base map. extent, resolution especially full-extent follow the first layer that is soooo annoying, so I decided to reset MapView.
     I've tried reset/reinitialize/new MapView but it doesn't work excepts switch activity, so I wonder if there is any methods that make MapView back to initialze states?

Outcomes