<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mapview zoomin, zoomto not working in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomin-zoomto-not-working/m-p/707048#M4957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The solution you found is correct. To perform any operation on the map, its necessary to check if the map is initialized, especially if you are working in the OnCreate method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Dec 2011 16:51:02 GMT</pubDate>
    <dc:creator>ArchanaAgarwal</dc:creator>
    <dc:date>2011-12-29T16:51:02Z</dc:date>
    <item>
      <title>Mapview zoomin, zoomto not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomin-zoomto-not-working/m-p/707046#M4955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="plain" name="code"&gt;map = (MapView)findViewById(R.id.map);
&amp;nbsp; // Add dynamic layer to MapView
&amp;nbsp; map.addLayer(new ArcGISDynamicMapServiceLayer("" +
&amp;nbsp; "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"));
&amp;nbsp; //Retrieve the non-configuration instance data that was previously returned.
&amp;nbsp; Object init = getLastNonConfigurationInstance();
&amp;nbsp;&amp;nbsp; if (init != null) {
&amp;nbsp;&amp;nbsp; map.restoreState((String) init);
}

map.zoomin();
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm new to this and trying to zoom in from current map resolution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.zoomin and map.zoomto is not working for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 01:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomin-zoomto-not-working/m-p/707046#M4955</guid>
      <dc:creator>User123</dc:creator>
      <dc:date>2011-12-27T01:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mapview zoomin, zoomto not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomin-zoomto-not-working/m-p/707047#M4956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to do a OnStatusChangedListener to check the initialization status &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;before calling the zoomin() method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 04:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomin-zoomto-not-working/m-p/707047#M4956</guid>
      <dc:creator>User123</dc:creator>
      <dc:date>2011-12-27T04:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mapview zoomin, zoomto not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomin-zoomto-not-working/m-p/707048#M4957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The solution you found is correct. To perform any operation on the map, its necessary to check if the map is initialized, especially if you are working in the OnCreate method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 16:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomin-zoomto-not-working/m-p/707048#M4957</guid>
      <dc:creator>ArchanaAgarwal</dc:creator>
      <dc:date>2011-12-29T16:51:02Z</dc:date>
    </item>
  </channel>
</rss>

