<?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 zoomToScale and zoomToResolution not working in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34629#M275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me, i just can't get zooming to work. I tried all the possible solutions mentioned in any conversations on the topic but nothing will work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently developing on a Samsung Galaxy S1 with Android 2.2.1 and ArcGIS version 1.1.1. and i've tried all the following possibilities:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) add an OnZoomListener to the map an have it deal with the scaling&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) switch from zoomToScale() to centerAt() + setScale()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) switch from zoomToScale() to zoomToResolution()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've even tripple-checked if the center point is correctly initialized or if I might first perform a GeometryEngine.project() on the coordinates, but that won't do the trick either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me please? My code currently is the same as in the tutorial, once again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 19:58:40 GMT</pubDate>
    <dc:creator>PatriziaPeller</dc:creator>
    <dc:date>2013-04-17T19:58:40Z</dc:date>
    <item>
      <title>MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34621#M267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried both MapView zoomToScale and zoomToResolution.&amp;nbsp; In zoomToScale I tried 24000 as the scale parameter.&amp;nbsp; In zoomToResolution, I tried .5, which is the highest resolution of my data.&amp;nbsp; Am I misinterpreting these parameters,&amp;nbsp; The only thing that it does is pan the map to center it around the point.&amp;nbsp; No zooming occurs.&amp;nbsp; I want to be able to zoom to the point and zoom to the highest res of the data in the mapview.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 14:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34621#M267</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2012-05-24T14:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34622#M268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could do a two step process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) centerAt()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) setScale()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 16:41:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34622#M268</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-05-24T16:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34623#M269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I tried both MapView zoomToScale and zoomToResolution.&amp;nbsp; In zoomToScale I tried 24000 as the scale parameter.&amp;nbsp; In zoomToResolution, I tried .5, which is the highest resolution of my data.&amp;nbsp; Am I misinterpreting these parameters,&amp;nbsp; The only thing that it does is pan the map to center it around the point.&amp;nbsp; No zooming occurs.&amp;nbsp; I want to be able to zoom to the point and zoom to the highest res of the data in the mapview.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Same issue.&amp;nbsp; It pans to the point. but does not zoom to the scale.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 17:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34623#M269</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2012-05-24T17:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34624#M270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;are you using the correct map units?&amp;nbsp; I tried setting my scale to 1200 (1":100ft) and it worked.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you call the CenterAt() method, try setting the animation property to false, see if that solves your problem.&amp;nbsp; map.CenterAt(point,false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As Andy points out in the thread below, perhaps the pan animation from CenterAt() is not completing before you are setting the scale, thus nothing is happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see this thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/51928-Callout-doesn-t-move-with-MapView.centerAt?highlight=animation"&gt;http://forums.arcgis.com/threads/51928-Callout-doesn-t-move-with-MapView.centerAt?highlight=animation&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 18:04:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34624#M270</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-05-24T18:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34625#M271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And, here's a code snippet showing the basic pattern:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;map.setOnSingleTapListener(new OnSingleTapListener() {
 
 /**
&amp;nbsp; * 
&amp;nbsp; */
 private static final long serialVersionUID = 1L;

 @Override
 public void onSingleTap(float x, float y) {
&amp;nbsp; double _x = x;
&amp;nbsp; double _y = y;
&amp;nbsp; double scale = 500000;
&amp;nbsp; 
&amp;nbsp; Point pt = new Point(_x,_y);
&amp;nbsp; map.centerAt(pt,true);
&amp;nbsp; map.setScale(scale);
 }
});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34625#M271</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2021-12-10T21:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34626#M272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;are you using the correct map units?&amp;nbsp; I tried setting my scale to 1200 (1":100ft) and it worked.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;When you call the CenterAt() method, try setting the animation property to false, see if that solves your problem.&amp;nbsp; map.CenterAt(point,false);&lt;BR /&gt;As Andy points out in the thread below, perhaps the pan animation from CenterAt() is not completing before you are setting the scale, thus nothing is happening.&lt;BR /&gt;&lt;BR /&gt;see this thread:&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/51928-Callout-doesn-t-move-with-MapView.centerAt?highlight=animation"&gt;http://forums.arcgis.com/threads/51928-Callout-doesn-t-move-with-MapView.centerAt?highlight=animation&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, it turned out I had the call in the wrong if-then clause.&amp;nbsp; I did get the zoomToScale to work, but whenever I use the zoomToResolution, the app freezes up, I get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;05-24 15:50:57.420: E/gralloc(15219): GetBufferLock timed out for thread 15219 buffer 0x41 usage 0x30 LockState 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;constantly in my logcat window and the tablet device reboots.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to use zoomToResolution because I have a GeoLocate button on my app and I want to zoom to the user's current location when that button is pressed and I want to zoom all the way down to tha map's highest resoltuion.&amp;nbsp; There is a getMaxResolution, but there is no getMaxScale.&amp;nbsp; I want to make the call mapView.zoomToResolution(currentLocation, mapView.getMaxResolution()), but cannot since the app continually freezes and the tablet reboots due to this GetBufferLock error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 19:00:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34626#M272</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2012-05-24T19:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34627#M273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Luke, a few questions related to the GetBufferLock error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Have you verified with the Eclipse debugger that your app crashes as soon as you "step into" zoomToResolution()?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) And, that happens 100% of the time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Can you copy the entire crash sequence from Logcat and either paste or attach it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) What's the make/model of the device?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Android OS version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6) ArcGIS SDK version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7) Code snippet of the method where the error is happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 19:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34627#M273</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-05-24T19:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34628#M274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Luke, a few questions related to the GetBufferLock error:&lt;BR /&gt;&lt;BR /&gt;1) Have you verified with the Eclipse debugger that your app crashes as soon as you "step into" zoomToResolution()?&lt;BR /&gt;&lt;BR /&gt;2) And, that happens 100% of the time?&lt;BR /&gt;&lt;BR /&gt;3) Can you copy the entire crash sequence from Logcat and either paste or attach it?&lt;BR /&gt;&lt;BR /&gt;4) What's the make/model of the device?&lt;BR /&gt;&lt;BR /&gt;5) Android OS version?&lt;BR /&gt;&lt;BR /&gt;6) ArcGIS SDK version?&lt;BR /&gt;&lt;BR /&gt;7) Code snippet of the method where the error is happening?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;-Andy&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I meant I wanted to use getMinResolution().&amp;nbsp; It seems to be working now.&amp;nbsp; Here's some of the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) No.&amp;nbsp; But it has happened many times.&amp;nbsp; I found a suggestion to run "adb shell top -t" and look at the actual thread/Process that is causing the error and found it to be com.android.systemui, but did not find what call caused it yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I will when it happens again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Motorola Xoom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) 4.0.4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) 1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class GeoUpdateHandler implements LocationListener {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; @Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; public void onLocationChanged(Location location) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; if (geoLocate) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentLocation = location;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; double lat = location.getLatitude();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; double lng = location.getLongitude();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("onLocationChanged, Location: "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + location.getLongitude() + ", "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + location.getLongitude());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point point = new Point(lng, lat);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Max Resolution: " + mapView.getMaxResolution());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Min Resolution: " + mapView.getMinResolution());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapView.zoomToResolution(point, mapView.getMinResolution());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("onLocationChanged, Point: " + point.getY()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + ", " + point.getX());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map&amp;lt;String, Object&amp;gt; userLocationAttributes = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic userlocationGraphic = new Graphic(1, point,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new SimpleMarkerSymbol(Color.RED, 10, STYLE.CIRCLE),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userLocationAttributes, null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicsLayer.addGraphic(userlocationGraphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 19:36:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34628#M274</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2012-05-24T19:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34629#M275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me, i just can't get zooming to work. I tried all the possible solutions mentioned in any conversations on the topic but nothing will work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently developing on a Samsung Galaxy S1 with Android 2.2.1 and ArcGIS version 1.1.1. and i've tried all the following possibilities:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) add an OnZoomListener to the map an have it deal with the scaling&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) switch from zoomToScale() to centerAt() + setScale()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) switch from zoomToScale() to zoomToResolution()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've even tripple-checked if the center point is correctly initialized or if I might first perform a GeometryEngine.project() on the coordinates, but that won't do the trick either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me please? My code currently is the same as in the tutorial, once again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 19:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34629#M275</guid>
      <dc:creator>PatriziaPeller</dc:creator>
      <dc:date>2013-04-17T19:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: MapView zoomToScale and zoomToResolution not working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34630#M276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im having exact same problems. Di somebody figure this out??&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 18:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoomtoscale-and-zoomtoresolution-not/m-p/34630#M276</guid>
      <dc:creator>AneteFridrihsone</dc:creator>
      <dc:date>2015-01-23T18:11:31Z</dc:date>
    </item>
  </channel>
</rss>

