<?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 I want to disable pinching on Android map so that user is not able to change the zoom level of the map in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/i-want-to-disable-pinching-on-android-map-so-that/m-p/27777#M217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using esri API s to work with the map. On android 4.4 we have issues when zoom level goes beyond 12. I want to lock pinning so that user is not able to change the zoom level by pinning the map. If he is not allowed to pin, then map will not hang as Zoom level will not be changed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest some function.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chetna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 21:16:52 GMT</pubDate>
    <dc:creator>chetnamittal</dc:creator>
    <dc:date>2014-12-01T21:16:52Z</dc:date>
    <item>
      <title>I want to disable pinching on Android map so that user is not able to change the zoom level of the map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/i-want-to-disable-pinching-on-android-map-so-that/m-p/27777#M217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using esri API s to work with the map. On android 4.4 we have issues when zoom level goes beyond 12. I want to lock pinning so that user is not able to change the zoom level by pinning the map. If he is not allowed to pin, then map will not hang as Zoom level will not be changed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest some function.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chetna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 21:16:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/i-want-to-disable-pinching-on-android-map-so-that/m-p/27777#M217</guid>
      <dc:creator>chetnamittal</dc:creator>
      <dc:date>2014-12-01T21:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: I want to disable pinching on Android map so that user is not able to change the zoom level of the map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/i-want-to-disable-pinching-on-android-map-so-that/m-p/27778#M218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the same question as &lt;A href="https://community.esri.com/message/441707"&gt;Disable pinning of Map on Android so that zoom level remains fixed&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can implement your own MapOnTouchListener and set this on the MapView:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/android/map/MapView.html" title="https://developers.arcgis.com/android/api-reference/reference/com/esri/android/map/MapView.html"&gt;https://developers.arcgis.com/android/api-reference/reference/com/esri/android/map/MapView.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can override the onPinch... methods to get your desired behavior at specific scales.&lt;/P&gt;&lt;P&gt;You set this listener on the mapview using the View.setOnTouchListener() method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 22:57:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/i-want-to-disable-pinching-on-android-map-so-that/m-p/27778#M218</guid>
      <dc:creator>WillCrick</dc:creator>
      <dc:date>2015-05-15T22:57:02Z</dc:date>
    </item>
  </channel>
</rss>

