<?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 display symbol (featurelayer) in infowindow ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-symbol-featurelayer-in-infowindow/m-p/290206#M26701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;thanx for your attention.&lt;/P&gt;&lt;P&gt;I'm programming a (simple) infowindow that displays the fields attributes of a featurelayer and I would like it to also display the symbol of the object.&lt;/P&gt;&lt;P&gt;here the code sample, it works very well but the symbol in the infowindow is undefined.&lt;/P&gt;&lt;P&gt;check on line 7 for &lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;???&lt;/STRONG&gt;&lt;/SPAN&gt; : that's where a little something is wrong (most probably), and I just can get my hand on it...&lt;/P&gt;&lt;P&gt;does anyone has a clue?&lt;/P&gt;&lt;P&gt;thanx again in advance!&lt;/P&gt;&lt;P&gt;greetings from France&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IW_geol_reg = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F194.57.254.69%2Farcgis%2Frest%2Fservices%2FAGES_carto%2FINFOWINDOW_THEME_1%2FMapServer%2F4" rel="nofollow" target="_blank"&gt;http://194.57.254.69/arcgis/rest/services/AGES_carto/INFOWINDOW_THEME_1/MapServer/4&lt;/A&gt;&lt;SPAN&gt;",{opacity:0.8, outFields: ["OBJECT", "DESCRIPTION", "DATE"]});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// affichage infobulle :&lt;/P&gt;&lt;P&gt;IW_geol_reg.on("mouse-over", function(evt){&lt;/P&gt;&lt;P&gt;map.infoWindow.setTitle("&amp;lt;b&amp;gt;" + evt.graphic.attributes.OBJECT&amp;nbsp; + "&amp;lt;/b&amp;gt;");&lt;/P&gt;&lt;P&gt;map.infoWindow.setContent("&amp;lt;b&amp;gt;" + evt.graphic.attributes.DESCRIPTION + "&amp;lt;/b&amp;gt;" + "&amp;lt;/br&amp;gt; &amp;lt;u&amp;gt;Datation&amp;lt;/u&amp;gt; : &amp;lt;i&amp;gt;" +&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.graphic.attributes.DATE + "&amp;lt;/i&amp;gt; &amp;lt;/br&amp;gt;" + evt.graphic.symbol.&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;???&lt;/STRONG&gt;&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;map.infoWindow.show(evt.mapPoint,InfoWindow.ANCHOR_UPPERLEFT);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;IW_geol_reg.on("mouse-out", function(evt){&lt;/P&gt;&lt;P&gt;map.infoWindow.hide();&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 12:29:30 GMT</pubDate>
    <dc:creator>VincentChoffrut</dc:creator>
    <dc:date>2015-09-11T12:29:30Z</dc:date>
    <item>
      <title>display symbol (featurelayer) in infowindow ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-symbol-featurelayer-in-infowindow/m-p/290206#M26701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;thanx for your attention.&lt;/P&gt;&lt;P&gt;I'm programming a (simple) infowindow that displays the fields attributes of a featurelayer and I would like it to also display the symbol of the object.&lt;/P&gt;&lt;P&gt;here the code sample, it works very well but the symbol in the infowindow is undefined.&lt;/P&gt;&lt;P&gt;check on line 7 for &lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;???&lt;/STRONG&gt;&lt;/SPAN&gt; : that's where a little something is wrong (most probably), and I just can get my hand on it...&lt;/P&gt;&lt;P&gt;does anyone has a clue?&lt;/P&gt;&lt;P&gt;thanx again in advance!&lt;/P&gt;&lt;P&gt;greetings from France&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IW_geol_reg = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F194.57.254.69%2Farcgis%2Frest%2Fservices%2FAGES_carto%2FINFOWINDOW_THEME_1%2FMapServer%2F4" rel="nofollow" target="_blank"&gt;http://194.57.254.69/arcgis/rest/services/AGES_carto/INFOWINDOW_THEME_1/MapServer/4&lt;/A&gt;&lt;SPAN&gt;",{opacity:0.8, outFields: ["OBJECT", "DESCRIPTION", "DATE"]});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// affichage infobulle :&lt;/P&gt;&lt;P&gt;IW_geol_reg.on("mouse-over", function(evt){&lt;/P&gt;&lt;P&gt;map.infoWindow.setTitle("&amp;lt;b&amp;gt;" + evt.graphic.attributes.OBJECT&amp;nbsp; + "&amp;lt;/b&amp;gt;");&lt;/P&gt;&lt;P&gt;map.infoWindow.setContent("&amp;lt;b&amp;gt;" + evt.graphic.attributes.DESCRIPTION + "&amp;lt;/b&amp;gt;" + "&amp;lt;/br&amp;gt; &amp;lt;u&amp;gt;Datation&amp;lt;/u&amp;gt; : &amp;lt;i&amp;gt;" +&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.graphic.attributes.DATE + "&amp;lt;/i&amp;gt; &amp;lt;/br&amp;gt;" + evt.graphic.symbol.&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;???&lt;/STRONG&gt;&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;map.infoWindow.show(evt.mapPoint,InfoWindow.ANCHOR_UPPERLEFT);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;IW_geol_reg.on("mouse-out", function(evt){&lt;/P&gt;&lt;P&gt;map.infoWindow.hide();&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:29:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-symbol-featurelayer-in-infowindow/m-p/290206#M26701</guid>
      <dc:creator>VincentChoffrut</dc:creator>
      <dc:date>2015-09-11T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: display symbol (featurelayer) in infowindow ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-symbol-featurelayer-in-infowindow/m-p/290207#M26702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sure someone will have an easier way that I've missed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there's a mapservice along with your featureservice you can inspect the legend info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..../arcgis/rest/services/layer/MapServer/legend?f=pjson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filter the response by layerName and you can either construct the appropriate URL, or use the imageData to inline your image. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 14:22:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-symbol-featurelayer-in-infowindow/m-p/290207#M26702</guid>
      <dc:creator>JoshHevenor</dc:creator>
      <dc:date>2015-09-11T14:22:50Z</dc:date>
    </item>
  </channel>
</rss>

