2 Replies Latest reply on Dec 29, 2011 8:51 AM by aagarwal-esristaff

    Mapview zoomin, zoomto not working

    user123456
      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.