<?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 LayerDefinitions Problem in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinitions-problem/m-p/7243#M128</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;in my Silverlight App i have a ArcGISDynamicMapServicelayer which consists of 4 Layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One Layer uses Point-Feature with labels. The other Layer use Line-Feature with Label.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i implemented LayerDefinition in my App which is added dynamically. So depending on different TextBoxes a LayerDefinitionString is created and added to a LayerDefinitionCollection (ObservableCollection) which is connected to the ArcGISDynamicMapServiceLayer.LayerDefinitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to work just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i added a DatePicker where the user can add a date which should also be included in the LayerDefinitionString.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for example only Lines and Points with a DateAttribute &amp;gt;= 01/01/2000 should be shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is, that all Points are shown &amp;gt;= 01/01/2000 but no lines at all. Even the Labeling of the Points is completly gone?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Ideas about that problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 11:26:51 GMT</pubDate>
    <dc:creator>UlfGrimhardt</dc:creator>
    <dc:date>2011-10-12T11:26:51Z</dc:date>
    <item>
      <title>LayerDefinitions Problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinitions-problem/m-p/7243#M128</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;in my Silverlight App i have a ArcGISDynamicMapServicelayer which consists of 4 Layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One Layer uses Point-Feature with labels. The other Layer use Line-Feature with Label.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i implemented LayerDefinition in my App which is added dynamically. So depending on different TextBoxes a LayerDefinitionString is created and added to a LayerDefinitionCollection (ObservableCollection) which is connected to the ArcGISDynamicMapServiceLayer.LayerDefinitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to work just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i added a DatePicker where the user can add a date which should also be included in the LayerDefinitionString.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for example only Lines and Points with a DateAttribute &amp;gt;= 01/01/2000 should be shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is, that all Points are shown &amp;gt;= 01/01/2000 but no lines at all. Even the Labeling of the Points is completly gone?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Ideas about that problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 11:26:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinitions-problem/m-p/7243#M128</guid>
      <dc:creator>UlfGrimhardt</dc:creator>
      <dc:date>2011-10-12T11:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: LayerDefinitions Problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinitions-problem/m-p/7244#M129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, after days of desperation i solved the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Line-Features Attributefield was Text not Date. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad i found that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 12:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinitions-problem/m-p/7244#M129</guid>
      <dc:creator>UlfGrimhardt</dc:creator>
      <dc:date>2011-10-12T12:06:53Z</dc:date>
    </item>
  </channel>
</rss>

