<?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 Layer on/off while mainiting current selections in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7546#M132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have writers block on this one - so deep I cannot even provide any code to start with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class that contains fields for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UNITS:&amp;nbsp; Emmergency Service Vehicles&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;YEAR:&amp;nbsp;&amp;nbsp;&amp;nbsp; Year of a call the unit went on (4 years are covered)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this feature class there are multiple calls for each unit during each of the years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been asked to create a map which a user can select a unit, or multiple units, with a checkbox, and then in a different layer list select the year they wish to view, or multiple years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: I have UNIT A, UNIT B and UNIT C turned on (checked) in one list, I then turn on (check) 2010 and 2011 in another list and points populate the map that those units went on during those years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the feeling this might be a basic solution, but I cannot find an example. I am still a novice at Silverlight so this is not coming easy. Any recommendations would be extremely appreciated.&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>Wed, 22 May 2013 18:12:03 GMT</pubDate>
    <dc:creator>GaryWine</dc:creator>
    <dc:date>2013-05-22T18:12:03Z</dc:date>
    <item>
      <title>Layer on/off while mainiting current selections</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7546#M132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have writers block on this one - so deep I cannot even provide any code to start with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class that contains fields for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UNITS:&amp;nbsp; Emmergency Service Vehicles&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;YEAR:&amp;nbsp;&amp;nbsp;&amp;nbsp; Year of a call the unit went on (4 years are covered)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this feature class there are multiple calls for each unit during each of the years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been asked to create a map which a user can select a unit, or multiple units, with a checkbox, and then in a different layer list select the year they wish to view, or multiple years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: I have UNIT A, UNIT B and UNIT C turned on (checked) in one list, I then turn on (check) 2010 and 2011 in another list and points populate the map that those units went on during those years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the feeling this might be a basic solution, but I cannot find an example. I am still a novice at Silverlight so this is not coming easy. Any recommendations would be extremely appreciated.&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>Wed, 22 May 2013 18:12:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7546#M132</guid>
      <dc:creator>GaryWine</dc:creator>
      <dc:date>2013-05-22T18:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Layer on/off while mainiting current selections</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7547#M133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have writers block on this one - so deep I cannot even provide any code to start with.&lt;BR /&gt;&lt;BR /&gt;I have a feature class that contains fields for:&lt;BR /&gt;&lt;BR /&gt;UNITS:&amp;nbsp; Emmergency Service Vehicles&lt;BR /&gt;YEAR:&amp;nbsp;&amp;nbsp;&amp;nbsp; Year of a call the unit went on (4 years are covered)&lt;BR /&gt;&lt;BR /&gt;In this feature class there are multiple calls for each unit during each of the years.&lt;BR /&gt;&lt;BR /&gt;I have been asked to create a map which a user can select a unit, or multiple units, with a checkbox, and then in a different layer list select the year they wish to view, or multiple years.&lt;BR /&gt;&lt;BR /&gt;Example: I have UNIT A, UNIT B and UNIT C turned on (checked) in one list, I then turn on (check) 2010 and 2011 in another list and points populate the map that those units went on during those years.&lt;BR /&gt;&lt;BR /&gt;I have the feeling this might be a basic solution, but I cannot find an example. I am still a novice at Silverlight so this is not coming easy. Any recommendations would be extremely appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The closest sample I know is this one: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#AttributeQuery"&gt;http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#AttributeQuery&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;It allows to select a state from a combobox and display the feature accordingly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 07:12:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7547#M133</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-05-23T07:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Layer on/off while mainiting current selections</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7548#M134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I appreciate the response Dominique, unfortunately that will not resolve my dilemma. I have to use a layer list that will always be displayed for the user, allowing them to turn on/off whatever they need. If I created a layer for each units calls by year I would have a layerlist that was entirely too large for the user to look at.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 10:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7548#M134</guid>
      <dc:creator>GaryWine</dc:creator>
      <dc:date>2013-05-24T10:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Layer on/off while mainiting current selections</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7549#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I appreciate the response Dominique, unfortunately that will not resolve my dilemma. I have to use a layer list that will always be displayed for the user, allowing them to turn on/off whatever they need. If I created a layer for each units calls by year I would have a layerlist that was entirely too large for the user to look at.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I don't get the dilemna.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it that instead of selecting just one year in a combox, you want to select a set of years?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case we can build the where clause by a concatenation depending on the checked years: YEAR='1980' OR YEAR='1985'....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did I miss something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7549#M135</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-05-24T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Layer on/off while mainiting current selections</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7550#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I understand how to apply the "WHERE", but I am not seeing how I am going to apply this to work with 2 separate layer lists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer List A = Units, Layer List B = Years&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User selects, via checkbox, UNIT A, UNIT B and UNIT C, then the user goes to LayerList B and selects Year 2010, the map populates with the appropriate selected data. Then the user decides they want to remove UNIT C, so they unselect it from Layer List A, and is now viewing data for the remaining units in the selected year.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how it has been requested to set the map up, so the user can see all their choices in front of them without having to use a drop-down or type what they are looking for in a search box.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 12:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-on-off-while-mainiting-current-selections/m-p/7550#M136</guid>
      <dc:creator>GaryWine</dc:creator>
      <dc:date>2013-06-05T12:26:13Z</dc:date>
    </item>
  </channel>
</rss>

