<?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 JS API 3.7 layer mouse-out event not firing when changing symbols in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-3-7-layer-mouse-out-event-not-firing-when/m-p/215761#M19991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In API 3.7, my FeatureLayer "mouse-out" events are not firing when I change symbol via setSymbol().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a FeatureLayer and when I mouse-over a line, I want it to highlight that line, then when I mouse out, I reset it back to the previous symbol.&amp;nbsp; In API 3.6, it worked for me, but in 3.7 it seems to break.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see this JSFiddle:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/alexng99/FSfzQ/"&gt;http://jsfiddle.net/alexng99/FSfzQ/&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; My lines are not turning back to previous symbols because mouse-out is not fired.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I forked my JSFiddle to use API 3.6 and everything works as expected.&amp;nbsp; See working example in 3.6: &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/alexng99/ZgpdU/"&gt;http://jsfiddle.net/alexng99/ZgpdU/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to use version 3.7, but this bug is breaking my code.&amp;nbsp; What can I do to work around this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 20:50:48 GMT</pubDate>
    <dc:creator>AlexNguyen1</dc:creator>
    <dc:date>2013-10-03T20:50:48Z</dc:date>
    <item>
      <title>JS API 3.7 layer mouse-out event not firing when changing symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-3-7-layer-mouse-out-event-not-firing-when/m-p/215761#M19991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In API 3.7, my FeatureLayer "mouse-out" events are not firing when I change symbol via setSymbol().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a FeatureLayer and when I mouse-over a line, I want it to highlight that line, then when I mouse out, I reset it back to the previous symbol.&amp;nbsp; In API 3.6, it worked for me, but in 3.7 it seems to break.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see this JSFiddle:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/alexng99/FSfzQ/"&gt;http://jsfiddle.net/alexng99/FSfzQ/&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; My lines are not turning back to previous symbols because mouse-out is not fired.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I forked my JSFiddle to use API 3.6 and everything works as expected.&amp;nbsp; See working example in 3.6: &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/alexng99/ZgpdU/"&gt;http://jsfiddle.net/alexng99/ZgpdU/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to use version 3.7, but this bug is breaking my code.&amp;nbsp; What can I do to work around this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 20:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-3-7-layer-mouse-out-event-not-firing-when/m-p/215761#M19991</guid>
      <dc:creator>AlexNguyen1</dc:creator>
      <dc:date>2013-10-03T20:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 3.7 layer mouse-out event not firing when changing symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-3-7-layer-mouse-out-event-not-firing-when/m-p/215762#M19992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oddly enough, in their 3.7 api mouse event example, they attach the mouse-out to the map.graphics and the mouse-over to the layer. Maybe they are already aware of the issue. Instead of changing the renderer of the graphic, you could try adding a graphic like the example, and then clearing it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/sandbox/sandbox.html?sample=fl_hover"&gt;http://developers.arcgis.com/en/javascript/sandbox/sandbox.html?sample=fl_hover&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 13:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-3-7-layer-mouse-out-event-not-firing-when/m-p/215762#M19992</guid>
      <dc:creator>MattLane</dc:creator>
      <dc:date>2013-10-04T13:30:48Z</dc:date>
    </item>
  </channel>
</rss>

