<?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 Zoom-in Problem in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoom-in-problem/m-p/576982#M3919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@skaviksk the general coding pattern goes something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Listen for map extent change via onZoomListener()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) after the zoom event completes, get the current scale via MapView.getScale() &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) compare current scale against your pre-defined minimum scale value &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) If zoom level is below your minimum then bounce the map back up to the minimum using zoomToScale()&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, 01 Mar 2012 18:02:00 GMT</pubDate>
    <dc:creator>AndyGup</dc:creator>
    <dc:date>2012-03-01T18:02:00Z</dc:date>
    <item>
      <title>MapView Zoom-in Problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoom-in-problem/m-p/576981#M3918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I implemented Mapview and added two layers. Everything is working fine without any issues. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want control Zoom-in level. Zoom-in should not go beyond certain level ( not to very detail level).&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this control associated with resolution or OnZoomListener ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 17:11:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoom-in-problem/m-p/576981#M3918</guid>
      <dc:creator>KavithaSampath_kumar</dc:creator>
      <dc:date>2012-02-24T17:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: MapView Zoom-in Problem</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoom-in-problem/m-p/576982#M3919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@skaviksk the general coding pattern goes something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Listen for map extent change via onZoomListener()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) after the zoom event completes, get the current scale via MapView.getScale() &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) compare current scale against your pre-defined minimum scale value &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) If zoom level is below your minimum then bounce the map back up to the minimum using zoomToScale()&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, 01 Mar 2012 18:02:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/mapview-zoom-in-problem/m-p/576982#M3919</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-03-01T18:02:00Z</dc:date>
    </item>
  </channel>
</rss>

