user123456

Mapview zoomin, zoomto not working

Discussion created by user123456 on Dec 26, 2011
Latest reply on Dec 29, 2011 by aagarwal-esristaff
map = (MapView)findViewById(R.id.map);
  // Add dynamic layer to MapView
  map.addLayer(new ArcGISDynamicMapServiceLayer("" +
  "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"));
  //Retrieve the non-configuration instance data that was previously returned.
  Object init = getLastNonConfigurationInstance();
   if (init != null) {
   map.restoreState((String) init);
}

map.zoomin();


i'm new to this and trying to zoom in from current map resolution.

map.zoomin and map.zoomto is not working for me.

Outcomes