<?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 ToolTip Dialog for Points in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tooltip-dialog-for-points/m-p/98768#M9062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this sample &lt;A href="https://developers.arcgis.com/javascript/jssamples/fl_hover.html" title="https://developers.arcgis.com/javascript/jssamples/fl_hover.html"&gt;Feature layer hover | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; I have modified it to work with a points layer. I was curious if anyone had a suggestion on clearing the dialog after cursor moves off the point. The dialog box seems to not disappear I have tried making the points bigger without much success.&amp;nbsp; I wanted to use an info template however I hit a road block with the mouse click event when trying to incorporate it into my bigger application that uses the closest facility sample. Attached is sample code that pulls in a point feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2014 14:43:33 GMT</pubDate>
    <dc:creator>CraigLinn</dc:creator>
    <dc:date>2014-12-23T14:43:33Z</dc:date>
    <item>
      <title>ToolTip Dialog for Points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tooltip-dialog-for-points/m-p/98768#M9062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this sample &lt;A href="https://developers.arcgis.com/javascript/jssamples/fl_hover.html" title="https://developers.arcgis.com/javascript/jssamples/fl_hover.html"&gt;Feature layer hover | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; I have modified it to work with a points layer. I was curious if anyone had a suggestion on clearing the dialog after cursor moves off the point. The dialog box seems to not disappear I have tried making the points bigger without much success.&amp;nbsp; I wanted to use an info template however I hit a road block with the mouse click event when trying to incorporate it into my bigger application that uses the closest facility sample. Attached is sample code that pulls in a point feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 14:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tooltip-dialog-for-points/m-p/98768#M9062</guid>
      <dc:creator>CraigLinn</dc:creator>
      <dc:date>2014-12-23T14:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: ToolTip Dialog for Points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tooltip-dialog-for-points/m-p/98769#M9063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample you mentioned is using graphics to show the tooltip dialog.&amp;nbsp; In your example, you are using a Feature Layer.&amp;nbsp; So, you will just need to update the map's 'load' event to call the feature layer's 'mouse-out' event.&amp;nbsp; Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;map.on("load", function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FarmerMarket.on("mouse-out", closeDialog);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:10:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tooltip-dialog-for-points/m-p/98769#M9063</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T06:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: ToolTip Dialog for Points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tooltip-dialog-for-points/m-p/98770#M9064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sample does have a bug, though. If you move the cursor though the InfoWindow into another county, the previous county stays highlighted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="infobug.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/43367_infobug.png" style="width: 620px; height: 397px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 15:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tooltip-dialog-for-points/m-p/98770#M9064</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-12-23T15:14:02Z</dc:date>
    </item>
  </channel>
</rss>

