<?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 Why are my layers not being displayed? in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142657#M607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm adding feature layers to my map at runtime, but they're not showing up. They show up correctly in the Legend control, but they're not visible in the map. What am I doing wrong here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;LocalFeatureService.GetServiceAsync(@"\\dtdev7240w7\Terminated\GIS Data\clark gis\clark2layers.mpk", featureService =&amp;gt;&amp;nbsp; { &amp;nbsp; foreach (var layerDetails in featureService.MapLayers) &amp;nbsp; { &amp;nbsp;&amp;nbsp; var featureLayer = new ArcGISLocalFeatureLayer(featureService, layerDetails.Name); &amp;nbsp;&amp;nbsp; featureLayer.ID = layerDetails.Name; &amp;nbsp;&amp;nbsp; MyMap.Layers.Add(featureLayer); &amp;nbsp; }&amp;nbsp; } );&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2012 13:25:31 GMT</pubDate>
    <dc:creator>GeorgeFaraj</dc:creator>
    <dc:date>2012-11-08T13:25:31Z</dc:date>
    <item>
      <title>Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142657#M607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm adding feature layers to my map at runtime, but they're not showing up. They show up correctly in the Legend control, but they're not visible in the map. What am I doing wrong here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;LocalFeatureService.GetServiceAsync(@"\\dtdev7240w7\Terminated\GIS Data\clark gis\clark2layers.mpk", featureService =&amp;gt;&amp;nbsp; { &amp;nbsp; foreach (var layerDetails in featureService.MapLayers) &amp;nbsp; { &amp;nbsp;&amp;nbsp; var featureLayer = new ArcGISLocalFeatureLayer(featureService, layerDetails.Name); &amp;nbsp;&amp;nbsp; featureLayer.ID = layerDetails.Name; &amp;nbsp;&amp;nbsp; MyMap.Layers.Add(featureLayer); &amp;nbsp; }&amp;nbsp; } );&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 13:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142657#M607</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-11-08T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142658#M608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code you gave to add the ArcGISLocalFeatureLayer should work without any issues. I suspect there is an issue with the .mpk or network. Can you see the expected layers and the access UrlFeatureService if you debug the featureservice? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerrie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 09:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142658#M608</guid>
      <dc:creator>KerrieScholefield</dc:creator>
      <dc:date>2012-11-12T09:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142659#M609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Can you see the expected layers and the access UrlFeatureService if you debug the featureservice? &lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Kerrie, can you be more specific about the above?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following displays the layers that are in the package correctly, but I need them as feature layers since I want to be able to select features and things like that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;LocalMapService localMapService = new LocalMapService()
{
 Path = @"\\dtdev7240w7\Terminated\GIS Data\clark gis\clark2layers.mpk",
 EnableDynamicLayers = true,
};
localMapService.StartAsync(localService =&amp;gt;
{
 if (localService.Error != null)
&amp;nbsp; return;
 var layer = new ArcGISLocalDynamicMapServiceLayer(localMapService);
 layer.EnableDynamicLayers = true;
 MyMap.Layers.Add(layer);
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142659#M609</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2021-12-11T07:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142660#M610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Hi Kerrie, can you be more specific about the above?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both code examples you have posted should work. It is worth checking the Error property to confirm that the local feature service is starting correctly. Insert a breakpoint after the local feature service is started. Once the breakpoint is hit - check the Error property to confirm there was no problem encountered starting the service. Then get the UrlFeatureService property and paste it into a browser (while the app is still in debug mode and the local server is still running). This will display the HTML view of the service and will tell you what layers are available. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerrie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 13:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142660#M610</guid>
      <dc:creator>KerrieScholefield</dc:creator>
      <dc:date>2012-11-12T13:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142661#M611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Error property is null and the UrlFeatureService contains:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:50001/b1HFRp/arcgis/rest/services/clark2layers-label/FeatureServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://127.0.0.1:50001/b1HFRp/arcgis/rest/services/clark2layers-label/FeatureServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This opens up a page that displays:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
clark2layers-label (FeatureServer)

Description: 

Layers:
majorrds (0)
parcels (1)
Supported Operations:&amp;nbsp;&amp;nbsp; Query&amp;nbsp;&amp;nbsp; Apply Edits 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clicking on parcels shows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Feature Layer: parcels (1)

Supported Operations: Query
Display Field: AREA
Type: Feature Layer
Geometry Type: esriGeometryPolygon
Description: 
Copyright Text: 
Min. Scale: 0
Max. Scale: 0
Extent:
XMin: 1052541.625
YMin: 77508.4375
XMax: 1197424.875
YMax: 273556.5
Spatial Reference: 102749
Drawing Info: 
Renderer:
Simple Renderer:
Label: 
Description: 
Symbol:
Simple Fill Symbol.
Transparency: 0
Labeling Info: [object Object]
Has Attachments: false
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
Object ID Field: FID
Global ID Field: 
Type ID Field: 
Fields: 
FID (Type: esriFieldTypeOID, Alias: FID, Editable: false)
AREA (Type: esriFieldTypeSingle, Alias: AREA, Editable: true)
PERIMETER (Type: esriFieldTypeSingle, Alias: PERIMETER, Editable: true)
PARCELS_ (Type: esriFieldTypeDouble, Alias: PARCELS_, Editable: true)
PARCELS_ID (Type: esriFieldTypeDouble, Alias: PARCELS_ID, Editable: true)
PROP_ID (Type: esriFieldTypeDouble, Alias: PROP_ID, Editable: true)
PARCELS_C (Type: esriFieldTypeInteger, Alias: PARCELS_C, Editable: true)
CREATEDATE (Type: esriFieldTypeDate, Alias: CREATEDATE, Editable: true, Length: 8)
MODDATE (Type: esriFieldTypeDate, Alias: MODDATE, Editable: true, Length: 8)
Types: 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should mention that the layers show up in the Legend with their correct Symbol legend items, but I don't see anything in the map, even when I click "Full Extent" in the navigation control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142661#M611</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2021-12-11T07:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142662#M612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The local feature service is starting without issues. Do you have the spatial reference set on the Map? If not, you could try setting the spatial reference and extent of the Map using similar to the .XAML code below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map.Extent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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;lt;esri:Envelope XMin="661140" YMin="-1420246" XMax="3015668" YMax="1594451" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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;lt;esri:Envelope.SpatialReference&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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;&amp;nbsp; &amp;lt;esri:SpatialReference WKID="enter WKID"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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;lt;/esri:Envelope.SpatialReference&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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;lt;/esri:Envelope&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map.Extent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also try adding an online ArcGISTiledMapServiceLayer and see if this helps you find the layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="MyLayer" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&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; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of the ArcGIS Runtime SDK for WPF are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerrie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 16:13:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142662#M612</guid>
      <dc:creator>KerrieScholefield</dc:creator>
      <dc:date>2012-11-12T16:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142663#M613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using version 1.0 129851 (the installer's name is ArcGIS_Runtime_SDK_for_WPF_10_129851.exe). The ESRI.ArcGIS.Client assembly has a Runtime version of v4.0.30319 and Version of 3.0.0.396.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should I use as a WKID value in the sample you provided?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 17:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142663#M613</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-11-13T17:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142664#M614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;What should I use as a WKID value in the sample you provided?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;No,&amp;nbsp; this was just an example of using the Map.Extent property. You will need to specify your own extent and WKID depending on the spatial reference of your data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerrie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 15:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142664#M614</guid>
      <dc:creator>KerrieScholefield</dc:creator>
      <dc:date>2012-11-15T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142665#M615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tried this with no success. Apparently, if I set the MaxRecords of the service to a higher number, a small part of the map gets displayed and navigation is extremely slow. This looks like a performance issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can use an ArcGISLocalDynamicMapServiceLayer like I mentioned before, and the layers get displayed correctly and navigation is not that bad, but then I don't have the feature functionality that I need. I need to be able to select features, do symbology and labeling on them, as well as perform local spatial operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you recommend?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 20:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142665#M615</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-11-16T20:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142666#M616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Generally I considered best practice to show operational data as a image (dynamic rendering) when you have a a lot of stuff visible from the feature / dynamic service. But this off course depends on the case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing to remember when using Accelerated grapchis is that the rendering engine cannot draw symbols with custom DataTemplate so check if you have renderer / symbol that is supported by the engine. If you use symbol that is not supported the symbol is not drawn into the layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/caje&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 04:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142666#M616</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2012-11-23T04:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142667#M617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not resolved this issue. Can someone please help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 17:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142667#M617</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-12-13T17:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142668#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Adding spatialrefrence to the mapcontrol may solve the problem, try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGISLocalFeatureLayer pLocalFeatureLayer = new ArcGISLocalFeatureLayer(mapname2, 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Envelope env = new Envelope(-180, -90, 180, 90);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //4326 refers to WGS84
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SpatialReference sp = new SpatialReference(4326);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.SpatialReference = sp;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapControl.Layers.Add(pLocalFeatureLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapControl.Extent = env;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the ids of spatialrefrence can be found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geographic Coordinate Systems :&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/gcs.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/gcs.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Projected Coordinate Systems : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/pcs.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/pcs.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope that would help you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142668#M618</guid>
      <dc:creator>haowoo</dc:creator>
      <dc:date>2021-12-11T07:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142669#M619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nope, that didn't work. How come I could load this map with no problems using the ArcObjects SDK, and with the Runtime SDK I can't reasonably load a feature map that has more than 20000 records? Am I doing it correctly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 20:54:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142669#M619</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2013-01-03T20:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142670#M620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a limitation in the number of features that can be returned by a query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This maximum number&amp;nbsp; can be set at the server side but will still be there if you have a huge number of features to load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway as you noticed, after loading a huge number of features, you may run into performance issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One possible approach is to set 2 layers with disjoint resolution scales: one dynamic layer at small scale in order to be able to see all features as image, and one feature layer at large scale in order to load the features only at these scales. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case you have to set the Mode of the feature layer to 'OnDemand' in order to reexecute a query after each extent change.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 15:23:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142670#M620</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-01-04T15:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my layers not being displayed?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142671#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;One possible approach is to set 2 layers with disjoint resolution scales: one dynamic layer at small scale in order to be able to see all features as image, and one feature layer at large scale in order to load the features only at these scales. &lt;BR /&gt;In this case you have to set the Mode of the feature layer to 'OnDemand' in order to reexecute a query after each extent change.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, I think this is what I'm looking for. I tested the OnDemand option and it does allow me to view all features when I'm at a large scale. I would like the map to be visible at small scales too though, so can you provide sample code that does what you described?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 18:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/why-are-my-layers-not-being-displayed/m-p/142671#M621</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2013-01-04T18:00:07Z</dc:date>
    </item>
  </channel>
</rss>

