<?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: Label don't show After Define LabelDefinition for ArcGISMapImageSublayer  in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99695#M1089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If LabelsEnabled is already true, maybe [name] attribute does not exist on that sublayer? If you remove the square brackets ([]), does the text `name` show as labels? You can try out this service and sample &lt;A _jive_internal="true" href="https://community.esri.com/thread/198759-label-dont-show-after-define-labeldefinition-for-arcgismapimagesublayer#comment-703333"&gt;https://community.esri.com/thread/198759-label-dont-show-after-define-labeldefinition-for-arcgismapimagesublayer#comment-703333&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 19:36:17 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2017-07-25T19:36:17Z</dc:date>
    <item>
      <title>Label don't show After Define LabelDefinition for ArcGISMapImageSublayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99692#M1086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I Define LabelDefinition for ArcGISMapImageSublayer after the&amp;nbsp;&lt;SPAN&gt;ArcGISMapImagelayer loaded, but the labels don't show,&amp;nbsp;the field is to be labeld is "name"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private async void ArcGISMapImageLayer_LoadStatusChanged(object sender, LoadStatusEventArgs e)&lt;BR /&gt; {&lt;BR /&gt; var lyr = sender as ArcGISMapImageLayer;&lt;/P&gt;&lt;P&gt;if (e.Status == LoadStatus.Loaded)&lt;BR /&gt; {&lt;BR /&gt; var subLyr = &lt;SPAN&gt;l&lt;/SPAN&gt;&lt;SPAN&gt;yr&lt;/SPAN&gt;.Sublayers[1] as ArcGISMapImageSublayer;&lt;BR /&gt; await subLyr.LoadAsync();&lt;BR /&gt; subLyr.LabelDefinitions.Add(LabelDefinition.FromJson("{\"labelExpression\": \"[name]\",\"labelPlacement\": \"esriServerPolygonPlacementAlwaysHorizontal\",\"symbol\": {\"color\": [255,0,255,123],\"font\": {\"size\": 16},\"type\": \"esriTS\"}}"));&lt;BR /&gt; }&amp;nbsp;&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 09:06:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99692#M1086</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-07-19T09:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Label don't show After Define LabelDefinition for ArcGISMapImageSublayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99693#M1087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the &lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/P_Esri_ArcGISRuntime_Mapping_FeatureLayer_LabelsEnabled.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/P_Esri_ArcGISRuntime_Mapping_FeatureLayer_LabelsEnabled.htm"&gt;FeatureLayer.LabelsEnabled Property&lt;/A&gt;&amp;nbsp;&amp;nbsp;set to true?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 11:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99693#M1087</guid>
      <dc:creator>JensBuchta</dc:creator>
      <dc:date>2017-07-19T11:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Label don't show After Define LabelDefinition for ArcGISMapImageSublayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99694#M1088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jens&lt;/P&gt;&lt;P&gt;I try to set&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ArcGISMapImageSublayer.LabelsEnabled to true, but labels still don't show.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 13:12:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99694#M1088</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-07-19T13:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Label don't show After Define LabelDefinition for ArcGISMapImageSublayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99695#M1089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If LabelsEnabled is already true, maybe [name] attribute does not exist on that sublayer? If you remove the square brackets ([]), does the text `name` show as labels? You can try out this service and sample &lt;A _jive_internal="true" href="https://community.esri.com/thread/198759-label-dont-show-after-define-labeldefinition-for-arcgismapimagesublayer#comment-703333"&gt;https://community.esri.com/thread/198759-label-dont-show-after-define-labeldefinition-for-arcgismapimagesublayer#comment-703333&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 19:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99695#M1089</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2017-07-25T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Label don't show After Define LabelDefinition for ArcGISMapImageSublayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99696#M1090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennifer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set&amp;nbsp;&lt;SPAN&gt;LabelsEnabled=true, but I noticed that the service you test&amp;nbsp;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2" style="color: #2989c5; text-decoration: none;"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2&lt;/A&gt;&amp;nbsp;the "&lt;STRONG style="color: #000000; font-size: 14.4px;"&gt;Can Modify Layer: &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-size: 14.4px;"&gt;true&lt;/SPAN&gt;" , but mine is false, and I try another service with&amp;nbsp;&lt;STRONG style="color: #000000; font-size: 14.4px;"&gt;Can Modify Layer:&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-size: 14.4px;"&gt;false, the labels will don't show all the same. &lt;STRONG&gt;So I&amp;nbsp;&lt;/STRONG&gt;doubt that if the&amp;nbsp;&lt;STRONG style="color: #000000; font-size: 14.4px;"&gt;Can Modify Layer: &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-size: 14.4px;"&gt;true is necessary for&amp;nbsp;&lt;STRONG&gt;LabelDefination&amp;nbsp;&lt;/STRONG&gt;of ArcGISMapImageSubLayer?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 01:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99696#M1090</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-07-26T01:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Label don't show After Define LabelDefinition for ArcGISMapImageSublayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99697#M1091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGISMapImageLayer and ArcGISMapImageSublayer&amp;nbsp;rely on&amp;nbsp;&lt;A href="http://server.arcgis.com/en/server/latest/publish-services/linux/about-dynamic-layers.htm"&gt;dynamic layer functionality&lt;/A&gt;&amp;nbsp;to customize labeling, which is only available when "Can Modify Layer" option is set to "true". You&amp;nbsp;could also check &lt;A href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/P_Esri_ArcGISRuntime_ArcGISServices_ArcGISMapServiceInfo_SupportsDynamicLayers.htm"&gt;yourLayer.ServiceInfo.SupportsDynamicLayers&lt;/A&gt;&amp;nbsp;property of a&amp;nbsp;loaded&amp;nbsp;&lt;SPAN&gt;ArcGISMapImageLayer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S&lt;/SPAN&gt;ervice-defined labels can always be displayed, but dynamic layer support&amp;nbsp;&lt;EM&gt;is&lt;/EM&gt; necessary if you need&amp;nbsp;&lt;EM&gt;clients&lt;/EM&gt; to add / modify / hide labels on&amp;nbsp;an ArcGISMapImageLayer or&amp;nbsp;its sublayers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 23:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/label-don-t-show-after-define-labeldefinition-for/m-p/99697#M1091</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2017-07-28T23:22:16Z</dc:date>
    </item>
  </channel>
</rss>

