<?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: Feature Layer double TAP point in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543788#M50639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it didnt work for me b/c of the click event conflicts.&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/37892"&gt;Jonathan Uihlein&lt;/A&gt;‌ indicated it is on the roadmap, but I am not sure where.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is desperately need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2014 16:14:32 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2014-08-26T16:14:32Z</dc:date>
    <item>
      <title>Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543779#M50630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having trouble listening for a double tap event on a feature layer point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Click and dbl click work fine on the desktop.&amp;nbsp; Tap works fine to select a point on iOS.&amp;nbsp; But I can't seem to get doubletap to fire&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I even tried using the dojox/gestures but to no avail&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 19:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543779#M50630</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-05-15T19:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543780#M50631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;anyone? could really use some guidance on this&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 17:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543780#M50631</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-05-28T17:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543781#M50632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;still really struggling here.&amp;nbsp; FeatureLayer has click, dbl-click, mouse over, mouse out, etc.. where are the touch events?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:30:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543781#M50632</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-05-29T14:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543782#M50633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;to the top. anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 17:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543782#M50633</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-02T17:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543783#M50634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You ever hear anything? This is holding me up on something too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Double-click or double-tap, whatever is used internally must work in the API, because I can use it to zoom in the map, just not on FeatureLayers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 19:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543783#M50634</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-06-05T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543784#M50635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;nothing.&amp;nbsp; I am about to delve into the obfuscated API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 19:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543784#M50635</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-05T19:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543785#M50636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I kind of found hacky workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Double-tap works, still testing other gestures like hold.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;// get the map id, coincides with DOM element id. var nodeId = this.map.id; // get the graphics container node, it looks like "map-id_gc" var node = dom.byId(nodeId+'_gc'); // listen for doubletap on the graphics container of svg graphics on(node, tap.doubletap, lang.hitch(this, function(e) { &amp;nbsp;&amp;nbsp;&amp;nbsp; // I keep an array of layers to search through, but you could just &amp;nbsp;&amp;nbsp;&amp;nbsp; // work off a single layer &amp;nbsp;&amp;nbsp;&amp;nbsp; arrayUtils.forEach(layersArray, function(lyr) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var i = lyr.graphics.length; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(i--) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // get a graphic &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic = lyr.graphics&lt;I&gt;; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // get the node of the graphic &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gnode = graphic.getNode(); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if the node and the doubletap target are a match &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // do what you want to do &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (gnode === e.target) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.graphic = graphic; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // I pass this on to my original double-click &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // handler and just add the graphic to the event &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // pretty much a duplicate of the dbl-click event &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.onLayerDblClick(e); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp;&amp;nbsp;&amp;nbsp; }, this); &amp;nbsp; }) );&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is working so far, I'm just going to see if I can incorporate Modernizr tests to check for when I have to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js" rel="nofollow" target="_blank"&gt;https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*edit - this does work for hold too, so I'm pretty happy with it. Although hold seems to have same issues discussed here &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/111887-Graphics-mouse-down-alert-boom" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/111887-Graphics-mouse-down-alert-boom&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That work around doesn't seem to work with hold, so as long as I distinguish when to use which events based on touch events, everything works as expected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 21:06:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543785#M50636</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-06-05T21:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543786#M50637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;absolutely beautiful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already had a layerArray that i use as well, so this just dropped in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many many thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 12:00:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543786#M50637</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-06T12:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543787#M50638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm curious if getting double-tap to work in an upcoming version of the API is on the roadmap anywhere. Mobile editing is pretty key and although the hack I posted still works, I am finding it can interfere with some other click events on the map. I am still trying to work around this issue in my particular case, so it may work fine for others. It would however be nice if the API could check for touch events and fallback to those as needed behind the scenes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I have created a widget that implements the above hack.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esri-simpleedit-widget" title="https://github.com/odoe/esri-simpleedit-widget"&gt;odoe/esri-simpleedit-widget · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 13:38:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543787#M50638</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-08-26T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543788#M50639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it didnt work for me b/c of the click event conflicts.&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/37892"&gt;Jonathan Uihlein&lt;/A&gt;‌ indicated it is on the roadmap, but I am not sure where.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is desperately need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 16:14:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543788#M50639</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-08-26T16:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543789#M50640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff is right that it is being looked at. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There are some 'gotchas' in different device/browser combos which, unfortunately, require their own specific logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, there would be events for tap, swipe, drag and hover. There are some fantastic use-cases for each of these. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No ETA yet but this enhancement may end up being a part of 4.0 if time is an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 17:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543789#M50640</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-09-02T17:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543790#M50641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; It is nice to know its on the list so to speak, so I dont have to spend alot of time on work arounds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/37892"&gt;Jonathan Uihlein&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 17:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543790#M50641</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-09-03T17:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer double TAP point</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543791#M50642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/37892"&gt;Jonathan Uihlein&lt;/A&gt;‌ is doubletap still being looked at? it is still not working in 3.12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 19:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-double-tap-point/m-p/543791#M50642</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2015-01-12T19:02:56Z</dc:date>
    </item>
  </channel>
</rss>

