<?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: DynamicMapServiceLayer Labels - from Shapefile in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429421#M2139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'm officially giving up, I can't seem to get this to work - I have code from the Silverlight example creating an ArcGISDynamicMapServiceLayer and it all works fine.&amp;nbsp; I have code creating a ArcGISLocalDynamicMapServiceLayer and it doesn't work.&amp;nbsp; The LabelClass used by both is the same (apart from the LabelExpression).&amp;nbsp; All the rest of the code (ie: creating the ArcGISLocalDynamicMapServiceLayer) is taken from the ESRI examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've spoken to Esri UK support (on an unrelated issue) and they have suggested I submit a support request using my EDN subscriber support credits, which I will now do.&amp;nbsp; I'll update this post if I get any positive results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, thanks for your assistance up to this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp; apparently EDN doesn't come with any support as standard.&amp;nbsp; I cannot see my company paying out an extra $2000 just so I can get one of the SDK examples to work properly.&amp;nbsp; I guess I will need to look at alternatives.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 14:34:55 GMT</pubDate>
    <dc:creator>LeeColclough</dc:creator>
    <dc:date>2014-08-13T14:34:55Z</dc:date>
    <item>
      <title>DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429413#M2131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333333; background-color: rgba(248, 248, 248, 0.6);"&gt;I'm loading various shapefiles using ArcGIS for WPF and displaying them on a map (the mechanism for doing this is taken from the ArcGIS WPF runtime examples - see &lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=953a530ada30477d95cc69e788268bc9" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #287433;" target="_blank"&gt;http://www.arcgis.com/home/item.html?id=953a530ada30477d95cc69e788268bc9&lt;/A&gt;).&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333333; background-color: rgba(248, 248, 248, 0.6);"&gt;I have a shapefile that contains Point information, and contained in it's attributes are the text labels that apply to those points. I cannot see how to access that information. I know the DBF file is being used as if I delete that file the shapefile will not render as it has no symbol information. Despite this, I cannot see when debugging the provided example how to access this information.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333333; background-color: rgba(248, 248, 248, 0.6);"&gt;Obviously I could simply open the .dbf file manually but that seems awfully clunky. Does anyone have any help or pointers for me?&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333333; background-color: rgba(248, 248, 248, 0.6);"&gt;Many thanks in advance.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333333; background-color: rgba(248, 248, 248, 0.6);"&gt;Lee.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 12:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429413#M2131</guid>
      <dc:creator>LeeColclough</dc:creator>
      <dc:date>2014-07-24T12:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429414#M2132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can run a QueryTask against the dynamically defined layer/service and as long as you set the Source property on the Query class instance you pass into the QueryTask then it will query your shapefile (rather than the original service source data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other aspects of the API support these dynamically defined layers too - again look for the Source property or in some cases a DynamicLayerInfos property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 13:08:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429414#M2132</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-07-24T13:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429415#M2133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mike - I'll look at that.&amp;nbsp; So there is no easy 'set a property to true' way to label a shapefile (in the same way that in ArcMap there is a 'Label ShapeFile' option on the layer) in ArcGIS for WPF SDK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429415#M2133</guid>
      <dc:creator>LeeColclough</dc:creator>
      <dc:date>2014-08-04T09:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429416#M2134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If labels have been configured in the dynamic service then these will be visible in the layer/map. If they are not visible you should be able to enable them via ESRI.ArcGIS.Client.LayerDrawingOptions.ShowLabels (&lt;A href="http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.LayerDrawingOptions~ShowLabels.html" title="http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.LayerDrawingOptions~ShowLabels.html"&gt;ArcGIS Runtime SDK for Microsoft WPF - Library Reference&lt;/A&gt;‌). This again will require the use of the DynamicLayers capability, but you will have enabled this anyway if you are adding Shapefiles via this route. There is a labeling API on dynamic layers - for an example see &lt;A href="https://developers.arcgis.com/silverlight/sample-code/start.htm#DynamicLayerLabeling" title="https://developers.arcgis.com/silverlight/sample-code/start.htm#DynamicLayerLabeling"&gt;ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers&lt;/A&gt;‌. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately this will become much easier in the new .NET SDK where you will have support for direct read of Shapefiles and a much richer labeling API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:43:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429416#M2134</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-08-04T13:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429417#M2135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case I think I'm clearly doing something daft!&amp;nbsp; I am using the AddShapeFileAndRasterData example project, and I have set the ShowLabels property of the LayerDrawingOptions class, to no avail.&amp;nbsp; I have also looked at the silverlight example and tried Creating LabelClass (and LabelOption) instances in the code and assigning to the LayerDrawingOptions, but nothing seems to make any difference.p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I've modified the LocalDynamicMapServiceLayer Initialized event handler like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

LabelClassCollection labelCollection = new LabelClassCollection();
System.Windows.Media.FontFamily fontFam = new System.Windows.Media.FontFamily("Arial");
LabelClass labelClass = new LabelClass() 
{ 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LabelPlacement = LabelPlacement.PointLabelPlacementAboveRight,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LabelOptions = new LabelOptions() { Color = Colors.Blue, FontSize = 20, FontWeight = FontWeights.Bold, FontStyle = TextStyle.Normal, FontFamily = fontFam },
};
labelCollection.Add(labelClass);





// Create a new LayerDrawingOptions object to hold the renderer information.
var layerDrawOpt = new LayerDrawingOptions()
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Match up the LayerID to the ID of the layer within the service.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LayerID = counter,


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Provide a renderer. In this example it is an empty SimpleMarkerSymbol.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Renderer = new SimpleRenderer() { Symbol = new SimpleMarkerSymbol() { } },


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShowLabels = true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScaleSymbols = true,


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LabelClasses = labelCollection,
};




&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Everything else is as per the AddShapeFileAndRasterData example.&amp;nbsp; Based on your help so far and the silverlight example, I cannot see why this wouldn't work.&amp;nbsp; I'm going to pull the silverlight example into a debugger and mess around to see if I can get any clues, but any insight you have would be, as always, very welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429417#M2135</guid>
      <dc:creator>LeeColclough</dc:creator>
      <dc:date>2021-12-11T19:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429418#M2136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I am unable to look into this right now - but my advice would be to open Fiddler then run an example which does work as expected and run an example which does not work as expected, and compare the two requests. You should get an indication of what parts of the request are missing and the API typically matches the request parameters fairly closely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you set the label field in the LabelClass?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429418#M2136</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-08-06T10:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429419#M2137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Worries - I'm grateful for any assistance I can get.&amp;nbsp; I'll certainly try Fiddler.&amp;nbsp; As an aside, if I take the Silverlight example and transfer it directly into a WPF project, the labels do NOT draw.&amp;nbsp; Hmmm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LabelClass doesn't have a Label field.&amp;nbsp; It has LabelExpression if that's what you meant?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429419#M2137</guid>
      <dc:creator>LeeColclough</dc:creator>
      <dc:date>2014-08-06T10:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429420#M2138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, sorry - LabelExpression. This is a string which represents the field name e.g. "[MyField]".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 12:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429420#M2138</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-08-06T12:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429421#M2139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'm officially giving up, I can't seem to get this to work - I have code from the Silverlight example creating an ArcGISDynamicMapServiceLayer and it all works fine.&amp;nbsp; I have code creating a ArcGISLocalDynamicMapServiceLayer and it doesn't work.&amp;nbsp; The LabelClass used by both is the same (apart from the LabelExpression).&amp;nbsp; All the rest of the code (ie: creating the ArcGISLocalDynamicMapServiceLayer) is taken from the ESRI examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've spoken to Esri UK support (on an unrelated issue) and they have suggested I submit a support request using my EDN subscriber support credits, which I will now do.&amp;nbsp; I'll update this post if I get any positive results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, thanks for your assistance up to this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp; apparently EDN doesn't come with any support as standard.&amp;nbsp; I cannot see my company paying out an extra $2000 just so I can get one of the SDK examples to work properly.&amp;nbsp; I guess I will need to look at alternatives.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 14:34:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429421#M2139</guid>
      <dc:creator>LeeColclough</dc:creator>
      <dc:date>2014-08-13T14:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429422#M2140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll take a look at this as soon as I can - the fact you said the SL sample does not run correctly in WPF concerns me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 16:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429422#M2140</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-08-13T16:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429423#M2141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - any time you can spare is appreciated.&amp;nbsp; I expect I'm just missing something, but it's so easy to turn on the labels for ArcGISDynamicMapServiceLayer and seemingly impossible for ArcGIS&lt;SPAN style="text-decoration: underline;"&gt;Local&lt;/SPAN&gt;DynamicMapServiceLayer - even when using very similar LayerDrawingOptions, that it just feels like a bug!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 09:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429423#M2141</guid>
      <dc:creator>LeeColclough</dc:creator>
      <dc:date>2014-08-14T09:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429424#M2142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not necessarily the answer, but it may be worth noting you do not really need to use &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ArcGIS&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; text-decoration: underline;"&gt;Local&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;DynamicMapServiceLayer. This class was just added to enable XAML support for local layers, by providing a Path property which will the API will then use internally to start a LocalMapService and hook up the Url property. Instead you can start a LocalMapService explicitly/programmatically and use the Url property directly with the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ArcGISDynamicMapServiceLayer. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 09:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429424#M2142</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-08-14T09:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429425#M2143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the AddShapeFileAndRasterData WPF example to use a &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ArcGISDynamicMapServiceLayer instead of the Local variant, and hey presto - labels!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Well, that's my problem solved - thanks very much!&amp;nbsp; It was a very small change as that example creates the local map service programmatically anyway, I just needed to hook up the URL as you said.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Doesn't make a lot of sense that this doesn't work with the local variant, but I now have a way forward.&amp;nbsp; Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429425#M2143</guid>
      <dc:creator>LeeColclough</dc:creator>
      <dc:date>2014-08-14T10:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicMapServiceLayer Labels - from Shapefile</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429426#M2144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that is great news and I am very glad you can make progress again, but I will enter an issue to investigate this behavioural difference because it is unexpected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/dynamicmapservicelayer-labels-from-shapefile/m-p/429426#M2144</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-08-14T10:16:09Z</dc:date>
    </item>
  </channel>
</rss>

