<?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: Does a featureLayer, based on a featureCollection, support onMouseOver? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-featurelayer-based-on-a-featurecollection/m-p/635313#M59338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;User error. Although Firebug doesn't list &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;.graphic&lt;/SPAN&gt;&lt;SPAN&gt; as a property of &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;evt&lt;/SPAN&gt;&lt;SPAN&gt;, it's there if you type if manually.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2013 06:23:51 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2013-03-19T06:23:51Z</dc:date>
    <item>
      <title>Does a featureLayer, based on a featureCollection, support onMouseOver?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-featurelayer-based-on-a-featurecollection/m-p/635312#M59337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm creating a featureLayer based on a featureCollection, as described at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#FeatureLayer/FeatureLayerConst2" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#FeatureLayer/FeatureLayerConst2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This page notes that a featureLayer based on a featureCollection has certain restrictions, compared to a "full" featureLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this featureLayer support onMouseOver access to the graphics, as described under &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/graphicslayer.html#GraphicsLayer/onMouseOver" rel="nofollow" target="_blank"&gt;GraphicsLayer onMouseOver&lt;/A&gt;&lt;SPAN&gt;, which states: &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="color: #000000; font-family: Lucida Grande;"&gt;The returned object contains &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Lucida Grande;"&gt;screenPoint, mapPoint, and &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/graphicslayer.html#graphic" rel="nofollow" target="_blank"&gt;Graphic&lt;/A&gt;&lt;SPAN style="color: #000000; font-family: Lucida Grande;"&gt;.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm finding that the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;evt&lt;/SPAN&gt;&lt;SPAN&gt; object does not contain access to the graphic, as shown in this &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.stephenlead.com/maps/flCollectionHover.html" rel="nofollow" target="_blank"&gt;example script&lt;/A&gt;&lt;SPAN&gt;, which builds up a featureLayer based on a query which creates a featureCollection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Put a breakpoint on line 77, hover over the purple polygon and note that &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;evt.graphic&lt;/SPAN&gt;&lt;SPAN&gt; does not exist. Any easy workarounds to get access to the graphic at this point? I just need to know its OID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 05:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-featurelayer-based-on-a-featurecollection/m-p/635312#M59337</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-03-15T05:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Does a featureLayer, based on a featureCollection, support onMouseOver?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-featurelayer-based-on-a-featurecollection/m-p/635313#M59338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;User error. Although Firebug doesn't list &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;.graphic&lt;/SPAN&gt;&lt;SPAN&gt; as a property of &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;evt&lt;/SPAN&gt;&lt;SPAN&gt;, it's there if you type if manually.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 06:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-featurelayer-based-on-a-featurecollection/m-p/635313#M59338</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-03-19T06:23:51Z</dc:date>
    </item>
  </channel>
</rss>

