<?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 [Javascript API] LayerSwipe widget working with different timestamps of the same layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-layerswipe-widget-working-with/m-p/211626#M19549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'd like to give the users of my application the ability to easily compare two different instants of the same time-enabled layer, for example with the LayerSwipe widget.&lt;/P&gt;&lt;P&gt;The problem is that this widget only takes an array of layers as input, and the timestamp AFAIK can't be set at layer level, but only at map level, so I don't see a way to compare two different instants of the same layer...&lt;/P&gt;&lt;P&gt;Any idea/suggestion/workaround for this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 12:50:11 GMT</pubDate>
    <dc:creator>StefanoTassara</dc:creator>
    <dc:date>2015-04-27T12:50:11Z</dc:date>
    <item>
      <title>[Javascript API] LayerSwipe widget working with different timestamps of the same layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-layerswipe-widget-working-with/m-p/211626#M19549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'd like to give the users of my application the ability to easily compare two different instants of the same time-enabled layer, for example with the LayerSwipe widget.&lt;/P&gt;&lt;P&gt;The problem is that this widget only takes an array of layers as input, and the timestamp AFAIK can't be set at layer level, but only at map level, so I don't see a way to compare two different instants of the same layer...&lt;/P&gt;&lt;P&gt;Any idea/suggestion/workaround for this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 12:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-layerswipe-widget-working-with/m-p/211626#M19549</guid>
      <dc:creator>StefanoTassara</dc:creator>
      <dc:date>2015-04-27T12:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: [Javascript API] LayerSwipe widget working with different timestamps of the same layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-layerswipe-widget-working-with/m-p/211627#M19550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you could create two featurelayers and set the definition expression for each one for the time ranges for comparison?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#setdefinitionexpression" title="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#setdefinitionexpression"&gt;FeatureLayer | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 17:03:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-layerswipe-widget-working-with/m-p/211627#M19550</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2015-04-27T17:03:49Z</dc:date>
    </item>
  </channel>
</rss>

