<?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: Detect Map Pan/Zoom based on User's Touch/Pinch in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51534#M481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By the way , when can we meet next version of the SDK ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2013 03:44:20 GMT</pubDate>
    <dc:creator>FrankLin1</dc:creator>
    <dc:date>2013-01-04T03:44:20Z</dc:date>
    <item>
      <title>Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51526#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible with the SDK to discern the difference between programmatically panning/zooming the map and one actually touching and pinching the map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to be able to tell the difference with my app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Listening for the 'MapDidEndPanning' and 'MapDidEndZooming' event does not tell you whether or not the user panned/zoomed the map or whether or not you did so programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. AGSMapViewTouchDelegate only provides methods for click, tap + hold, tap + hold + release, and tap + hold + move.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 20:15:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51526#M473</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-12-14T20:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51527#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm thinking I'm going to have to hook up my own gesture recognizer for both panning and pinching. Has anyone else faced this problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 20:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51527#M474</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-12-14T20:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51528#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Piece of cake:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In view did load:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
// Add gesture recognizers to map view
UIPanGestureRecognizer *panGestureRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(mapPannedByTouch:)];
UIPinchGestureRecognizer *pinchGestureRecognizer = [[UIPinchGestureRecognizer alloc] initWithTarget:self action:@selector(mapPinchedByTouch:)];
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
[self.mapView addGestureRecognizer:panGestureRecognizer];
[self.mapView addGestureRecognizer:pinchGestureRecognizer];
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
- (void)mapPannedByTouch:(UIGestureRecognizer*)gestureRecognizer {
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(@"map panned by touch!");
}

- (void)mapPinchedByTouch:(UIGestureRecognizer*)gestureRecognizer {
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(@"map pinched by touch!");
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51528#M475</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2021-12-10T21:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51529#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After hooking up these gesture recognizers I notice that the map doesn't pan but a little bit after each pan. It looks like it might be conflicting with some of the map's default functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any word from you guys (ESRI) as to whether hooking up gesture recognizers is recommended or not?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 21:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51529#M476</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-12-14T21:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51530#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that if you add the gesture recognizer code to the MapViewDemo project the map doesn't work. You can't pan or zoom the map afterward. Why is that? Incidentally I found this post that describes how to bubble touch events up from the map. Does this work? If so, why can't we use gesture recognizers instead?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/38228-How-to-catch-AGSMapView-touch-gestures"&gt;http://forums.arcgis.com/threads/38228-How-to-catch-AGSMapView-touch-gestures&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 13:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51530#M477</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-12-17T13:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51531#M478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After further investigation it seems you have to subclass AGSMapView and implement the touchesEnded event to do this. It is not clear, why, the gesture recognizers disable the map? Can we get clarification there?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 13:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51531#M478</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-12-21T13:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51532#M479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Any word from you guys (ESRI) as to whether hooking up gesture recognizers is recommended or not?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, it is not recommended to hooking up gesture recognizers. If you do so then it'll interfere the functionality of map. In current SDK, there is no easy way to differentiate between programmatically panning/zooming the map and one actually touching and pinching the map. However, the next version of the SDK will have that functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 16:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51532#M479</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-12-28T16:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51533#M480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No, it is not recommended to hooking up gesture recognizers. If you do so then it'll interfere the functionality of map. In current SDK, there is no easy way to differentiate between programmatically panning/zooming the map and one actually touching and pinching the map. However, the next version of the SDK will have that functionality.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nimesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Got it. Thanks Nimesh.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2012 13:25:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51533#M480</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2012-12-31T13:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51534#M481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By the way , when can we meet next version of the SDK ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 03:44:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51534#M481</guid>
      <dc:creator>FrankLin1</dc:creator>
      <dc:date>2013-01-04T03:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51535#M482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The new version of &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2013/01/09/version-10-1-1-of-arcgis-runtime-sdk-for-ios-now-available/"&gt;ArcGIS SDK for iOS&lt;/A&gt;&lt;SPAN&gt; is available now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 19:48:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51535#M482</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-01-09T19:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51536#M483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The new version of &lt;A href="http://blogs.esri.com/esri/arcgis/2013/01/09/version-10-1-1-of-arcgis-runtime-sdk-for-ios-now-available/"&gt;ArcGIS SDK for iOS&lt;/A&gt; is available now.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nimesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Nimesh...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about pinch zoom functionality for touch screen Windows 7 tablets?&amp;nbsp; Will ArcReader for this environment eventually support pinch zooming?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51536#M483</guid>
      <dc:creator>JasonGambacort</dc:creator>
      <dc:date>2013-01-17T14:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51537#M484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jason,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This forum is for ArcGIS Runtime SDK for iOS. If you have question about ArcReader then please post your question in &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/56-ArcReader"&gt;ArcReader&lt;/A&gt;&lt;SPAN&gt; forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 15:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51537#M484</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-01-17T15:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51538#M485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question is not answered. I've been developing to the latest API for iOS and I still don't see a delegate function that fires on user touch pan and zoom. Basic stuff to know the user's interactions here. Clicking or tap and hold gives me nothing. Unless I'm missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 18:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51538#M485</guid>
      <dc:creator>PatrickTruitt</dc:creator>
      <dc:date>2014-08-20T18:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Map Pan/Zoom based on User's Touch/Pinch</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51539#M486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_map_view_base.html#a9722ff65c56d7ecc9048ca46fedb4a98"&gt;interacting&lt;/A&gt; flag on AGSMapView for you to determine whether interaction with map is by user or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Interacting: Whether the map is currently being dragged, pinched, rotated or scrolled by the user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Nimesh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 17:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/detect-map-pan-zoom-based-on-user-s-touch-pinch/m-p/51539#M486</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2014-08-21T17:42:27Z</dc:date>
    </item>
  </channel>
</rss>

