<?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 Labeling FeatureLayer the same as in the mxd in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-featurelayer-the-same-as-in-the-mxd/m-p/461986#M42702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an mxd that uses a picturesymbol in it's label along with the value.&amp;nbsp; Basically, it's a picture of a callout (a png file) and the text for the field sits on top of it.&amp;nbsp; The labeling works fine when I add the layer as an ArcGISDynamicMapSericeLayer, but when I add it as a FeatureLayer(so I can click on it and display a custom infowindow) it doesn't show the labeling at all.&amp;nbsp; I saw that I would have to a LabelLayer but I'm not sure how to go about setting it up to have a picturemarkersymbol as it's background.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2016 15:56:56 GMT</pubDate>
    <dc:creator>Hernando_CountyProperty_Apprai</dc:creator>
    <dc:date>2016-06-17T15:56:56Z</dc:date>
    <item>
      <title>Labeling FeatureLayer the same as in the mxd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-featurelayer-the-same-as-in-the-mxd/m-p/461986#M42702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an mxd that uses a picturesymbol in it's label along with the value.&amp;nbsp; Basically, it's a picture of a callout (a png file) and the text for the field sits on top of it.&amp;nbsp; The labeling works fine when I add the layer as an ArcGISDynamicMapSericeLayer, but when I add it as a FeatureLayer(so I can click on it and display a custom infowindow) it doesn't show the labeling at all.&amp;nbsp; I saw that I would have to a LabelLayer but I'm not sure how to go about setting it up to have a picturemarkersymbol as it's background.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 15:56:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-featurelayer-the-same-as-in-the-mxd/m-p/461986#M42702</guid>
      <dc:creator>Hernando_CountyProperty_Apprai</dc:creator>
      <dc:date>2016-06-17T15:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling FeatureLayer the same as in the mxd</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-featurelayer-the-same-as-in-the-mxd/m-p/461987#M42703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priscilla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You should continue to use &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;ArcGISDynamicMapSericeLayer, as this is the only way you will maintain the exact label you setup in ArcMap. The &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;ArcGISDynamicMapSericeLayer does support a custom info window. The way you set the info window for a FeatureLayer is fl.setInfoTemplate well the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;ArcGISDynamicMapSericeLayer is some what similar.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;DL.setInfoTemplates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;demographicsLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;setInfoTemplates&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;({&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #009999;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; infoTemplate&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; _blockGroupInfoTemplate &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;},&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #009999;"&gt;2&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; infoTemplate&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; _countyCensusInfoTemplate &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;});&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;Here is a sample:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/map_twodynamic.html" title="https://developers.arcgis.com/javascript/3/jssamples/map_twodynamic.html"&gt;Add two dynamic maps | ArcGIS API for JavaScript&lt;/A&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 16:52:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-featurelayer-the-same-as-in-the-mxd/m-p/461987#M42703</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-06-17T16:52:59Z</dc:date>
    </item>
  </channel>
</rss>

