<?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 Time Aware map &amp;amp;amp;amp; ExportImage question in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/time-aware-map-amp-amp-amp-exportimage-question/m-p/63960#M5595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using JS API 3.5, ArcGIS server 10.1 - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've published a map service containing a time aware layer (data are from a raster catalog in a file geodb) &amp;amp; have added a TimeSlider widget to my page.&amp;nbsp; When I move the slider, it always shows cumulative data which I don't want (the data are water inundation levels so it looks like the water never recedes).&amp;nbsp; Using the Time Slider in ArcMap the data draw correctly &amp;amp; I've checked the 'Display data cumulatively' checkbox on the layer's time properties is off.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Firebug, I can see that when the user moves the slider in the web page, it's calling ExportImage with 2 date/times for the time parameter.&amp;nbsp; How do I get it to only request a single time?&amp;nbsp; I can do this manually and get the correct image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Terry&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Time Slider related code - &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; dojo.connect(map, "onLayerAdd", function (layer) {&amp;nbsp; if (layer.id == "my animated layer") { timeSlider = new esri.dijit.TimeSlider({}, dojo.byId("timeSliderDiv"));&amp;nbsp; map.setTimeSlider(timeSlider);&amp;nbsp; timeSlider.setThumbCount(1); timeSlider.setThumbMovingRate(1500); //1.5 seconds between frames timeSlider.createTimeStopsByTimeInterval(layer.timeInfo.timeExtent, 6, 'esriTimeUnitsHours'); //6 hours matches steps set in ArcMap timeSlider.startup(); dojo.connect(timeSlider, "onTimeExtentChange", function (timeExtent) { dojo.byId('divTime').innerHTML = timeExtent.endTime; }); } }); &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 15:20:33 GMT</pubDate>
    <dc:creator>TerryGiles</dc:creator>
    <dc:date>2014-01-16T15:20:33Z</dc:date>
    <item>
      <title>Time Aware map &amp;amp;amp; ExportImage question</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/time-aware-map-amp-amp-amp-exportimage-question/m-p/63960#M5595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using JS API 3.5, ArcGIS server 10.1 - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've published a map service containing a time aware layer (data are from a raster catalog in a file geodb) &amp;amp; have added a TimeSlider widget to my page.&amp;nbsp; When I move the slider, it always shows cumulative data which I don't want (the data are water inundation levels so it looks like the water never recedes).&amp;nbsp; Using the Time Slider in ArcMap the data draw correctly &amp;amp; I've checked the 'Display data cumulatively' checkbox on the layer's time properties is off.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Firebug, I can see that when the user moves the slider in the web page, it's calling ExportImage with 2 date/times for the time parameter.&amp;nbsp; How do I get it to only request a single time?&amp;nbsp; I can do this manually and get the correct image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Terry&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Time Slider related code - &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; dojo.connect(map, "onLayerAdd", function (layer) {&amp;nbsp; if (layer.id == "my animated layer") { timeSlider = new esri.dijit.TimeSlider({}, dojo.byId("timeSliderDiv"));&amp;nbsp; map.setTimeSlider(timeSlider);&amp;nbsp; timeSlider.setThumbCount(1); timeSlider.setThumbMovingRate(1500); //1.5 seconds between frames timeSlider.createTimeStopsByTimeInterval(layer.timeInfo.timeExtent, 6, 'esriTimeUnitsHours'); //6 hours matches steps set in ArcMap timeSlider.startup(); dojo.connect(timeSlider, "onTimeExtentChange", function (timeExtent) { dojo.byId('divTime').innerHTML = timeExtent.endTime; }); } }); &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 15:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/time-aware-map-amp-amp-amp-exportimage-question/m-p/63960#M5595</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2014-01-16T15:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Time Aware map &amp; ExportImage question</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/time-aware-map-amp-amp-amp-exportimage-question/m-p/63961#M5596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Terry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Set this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;timeSlider.singleThumbAsTimeInstant(true);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="color: #4D4D4D; font-family: Lucida Grande;"&gt;When true, the time slider displays features for the current point in time. When false cumulative data is displayed from the start time to the current thumb location. The default value is false.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 16:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/time-aware-map-amp-amp-amp-exportimage-question/m-p/63961#M5596</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-01-16T16:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Time Aware map &amp; ExportImage question</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/time-aware-map-amp-amp-amp-exportimage-question/m-p/63962#M5597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Robert, not sure how I missed that reading the API refs...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 16:25:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/time-aware-map-amp-amp-amp-exportimage-question/m-p/63962#M5597</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2014-01-16T16:25:44Z</dc:date>
    </item>
  </channel>
</rss>

