<?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 Navigation disables graphics layer handlers.. Bug? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/navigation-disables-graphics-layer-handlers-bug/m-p/110868#M10308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a graphics layer and using Navigation toolbar.&amp;nbsp; I observed weird behaviour. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The moment I activate navigation, it is disabling all sorts of interaction with graphics layer.&amp;nbsp; I cannot click on any of the graphic (It won't trigger 'onClick' event on clicking it).&amp;nbsp; It is behaving the same in my app and I was able to reproduce it on the following sample page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/graphics_contextmenu/index.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/samples/graphics_contextmenu/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried following commands in console while on the above page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;myNav = new esri.toolbars.Navigation(map) myNav.activate(esri.toolbars.Navigation.PAN);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 23:54:40 GMT</pubDate>
    <dc:creator>MoizBhukhiya</dc:creator>
    <dc:date>2012-11-07T23:54:40Z</dc:date>
    <item>
      <title>Navigation disables graphics layer handlers.. Bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/navigation-disables-graphics-layer-handlers-bug/m-p/110868#M10308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a graphics layer and using Navigation toolbar.&amp;nbsp; I observed weird behaviour. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The moment I activate navigation, it is disabling all sorts of interaction with graphics layer.&amp;nbsp; I cannot click on any of the graphic (It won't trigger 'onClick' event on clicking it).&amp;nbsp; It is behaving the same in my app and I was able to reproduce it on the following sample page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/graphics_contextmenu/index.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/samples/graphics_contextmenu/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried following commands in console while on the above page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;myNav = new esri.toolbars.Navigation(map) myNav.activate(esri.toolbars.Navigation.PAN);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 23:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/navigation-disables-graphics-layer-handlers-bug/m-p/110868#M10308</guid>
      <dc:creator>MoizBhukhiya</dc:creator>
      <dc:date>2012-11-07T23:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation disables graphics layer handlers.. Bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/navigation-disables-graphics-layer-handlers-bug/m-p/110869#M10309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a graphics layer and using Navigation toolbar.&amp;nbsp; I observed weird behaviour. &lt;BR /&gt;The moment I activate navigation, it is disabling all sorts of interaction with graphics layer.&amp;nbsp; I cannot click on any of the graphic (It won't trigger 'onClick' event on clicking it).&amp;nbsp; It is behaving the same in my app and I was able to reproduce it on the following sample page:&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/graphics_contextmenu/index.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/samples/graphics_contextmenu/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I tried following commands in console while on the above page:&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;myNav = new esri.toolbars.Navigation(map) myNav.activate(esri.toolbars.Navigation.PAN);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess activating navigation disables Mouse Events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fixed it by enabling Mouse events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;this.activate(esri.toolbars.Navigation.PAN); map.graphics.enableMouseEvents();&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 19:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/navigation-disables-graphics-layer-handlers-bug/m-p/110869#M10309</guid>
      <dc:creator>MoizBhukhiya</dc:creator>
      <dc:date>2012-11-08T19:08:42Z</dc:date>
    </item>
  </channel>
</rss>

