<?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 Map Touch vs. Mouse Click in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-touch-vs-mouse-click/m-p/259571#M1230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have an issue where touch-screen users touch/tap the map, and their tap does not register an event like a mouse would.&amp;nbsp; Their taps on other controls (buttons, etc.) work just fine.&amp;nbsp; Other touch interactions on the map also work (multi-touch zoom, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did see some discussion on this topic in the forums, but I didn't see a smoking gun answer.&amp;nbsp; I'd like to know how Esri suggests handling map touch/tap vs. map mouse clicks.&amp;nbsp; It seems as though the map's MouseClick event is fired for a mouse, but not a touch.&amp;nbsp; And then the map's MapGesture is fired for a touch/tap, but not a mouse click.&amp;nbsp; I've also seen some Esri samples that use MouseLeftButtonDown off a graphic/feature layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding to the confusion is the fact that some Esri WPF samples work for touch and mouse, while others only work for mouse.&amp;nbsp; See below for examples.&amp;nbsp; How does Esri suggest handling both touch and mouse events on a map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Esri WPF Samples that &lt;STRONG&gt;DO &lt;/STRONG&gt;Work for touch:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Graphics-&amp;gt;Add Interactively&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Behaviors and Actions-&amp;gt;Graphics Actions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Esri WPF Samples that &lt;STRONG&gt;DO NOT &lt;/STRONG&gt;Work for touch:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Behaviors and Actions-&amp;gt;Utility Actions -&amp;gt; Measure&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Graphics-&amp;gt;Selections&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Search-&amp;gt;Identify Task-&amp;gt;Identify&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 15:17:07 GMT</pubDate>
    <dc:creator>BrianRassier</dc:creator>
    <dc:date>2012-11-02T15:17:07Z</dc:date>
    <item>
      <title>Map Touch vs. Mouse Click</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-touch-vs-mouse-click/m-p/259571#M1230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have an issue where touch-screen users touch/tap the map, and their tap does not register an event like a mouse would.&amp;nbsp; Their taps on other controls (buttons, etc.) work just fine.&amp;nbsp; Other touch interactions on the map also work (multi-touch zoom, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did see some discussion on this topic in the forums, but I didn't see a smoking gun answer.&amp;nbsp; I'd like to know how Esri suggests handling map touch/tap vs. map mouse clicks.&amp;nbsp; It seems as though the map's MouseClick event is fired for a mouse, but not a touch.&amp;nbsp; And then the map's MapGesture is fired for a touch/tap, but not a mouse click.&amp;nbsp; I've also seen some Esri samples that use MouseLeftButtonDown off a graphic/feature layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding to the confusion is the fact that some Esri WPF samples work for touch and mouse, while others only work for mouse.&amp;nbsp; See below for examples.&amp;nbsp; How does Esri suggest handling both touch and mouse events on a map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Esri WPF Samples that &lt;STRONG&gt;DO &lt;/STRONG&gt;Work for touch:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Graphics-&amp;gt;Add Interactively&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Behaviors and Actions-&amp;gt;Graphics Actions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Esri WPF Samples that &lt;STRONG&gt;DO NOT &lt;/STRONG&gt;Work for touch:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Behaviors and Actions-&amp;gt;Utility Actions -&amp;gt; Measure&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mapping-&amp;gt;Graphics-&amp;gt;Selections&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Search-&amp;gt;Identify Task-&amp;gt;Identify&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-touch-vs-mouse-click/m-p/259571#M1230</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2012-11-02T15:17:07Z</dc:date>
    </item>
  </channel>
</rss>

