<?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: JavaScript API on mobile device in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521992#M48656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, 'click' will work, dbl-click/dbl tap not so much. There's a thread discussing some click/tap issues here that are stil present in the current issue of the api. There's a hacky way to do it, but so far it's an "all hack" or nothing solution as it will break some other click events.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/93240"&gt;Feature Layer double TAP point&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2014 13:46:16 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2014-08-28T13:46:16Z</dc:date>
    <item>
      <title>JavaScript API on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521990#M48654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on optimizing an existing application for mobile devices (iPad, Tablet, Note) and trying to work out how the events are triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desktop app has hover and click events, on the mobile devices a tap triggers the hover event, how do I trigger the click event?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:18:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521990#M48654</guid>
      <dc:creator>KyleDixon</dc:creator>
      <dc:date>2014-08-28T13:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript API on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521991#M48655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kyle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shouldn't it work just like using it on desktop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. map.on("click", dosomething);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is an example: &lt;A href="https://developers.arcgis.com/javascript/jssamples/mobile_simplemap.html" title="https://developers.arcgis.com/javascript/jssamples/mobile_simplemap.html"&gt;Simple map for iOS | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521991#M48655</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-08-28T13:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript API on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521992#M48656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, 'click' will work, dbl-click/dbl tap not so much. There's a thread discussing some click/tap issues here that are stil present in the current issue of the api. There's a hacky way to do it, but so far it's an "all hack" or nothing solution as it will break some other click events.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/93240"&gt;Feature Layer double TAP point&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:46:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521992#M48656</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-08-28T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript API on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521993#M48657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would think so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have different graphics layers, one layer has the hover, when hovered details are displayed in a table and the graphic is added to another layer which is registered to the click event. It works perfectly in all desktop browsers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looks like this:&lt;/P&gt;&lt;P&gt;graphicLayer1.on("hover", function(evt){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicLayer2.add(evt.graphic);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicLayer2.on("click", function(evt){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doSomething(); // Never fires on a mobile device&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may need to rework the flow, this was originally written with api 1.6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-on-mobile-device/m-p/521993#M48657</guid>
      <dc:creator>KyleDixon</dc:creator>
      <dc:date>2014-08-28T13:46:27Z</dc:date>
    </item>
  </channel>
</rss>

