Select to view content in your preferred language

Time Slider

602
0
10-19-2012 11:05 AM
BanchanaPandey
Regular Contributor
I am looking at the time aware image service sample at
http://help.arcgis.com/en/webapi/javascript/arcgis/samples/image_timeimageservice/index.html
and it works great.

When I examine the GET requests for both the esri sample and my application, they look the same.
The request header for my app is below:
GET /ArcGIS/rest/services/Imagery/TimeSliderTest/ImageServer/exportImage?f=image&time=1131062400000%2C1131062400000&bbox=-12817780.792374637%2C3782329.9500602563%2C-11841832.815229553%2C4173076.038654058&imageSR=102100&bboxSR=102100&size=1596%2C639 HTTP/1.1

But I don't see any images. If I remove the portion for time (time=1131062400000%2C1131062400000&) from the above string and view it, I see my images.
What could be wrong with the time? The date is an esri date type field  and I am getting the time from results generated from the map onLayersAddResults. This is what shows in the image service for time info.

Time Info:
Time Extent: [2000/08/04 00:00:00 UTC, 2011/05/31 00:00:00 UTC]
Time Reference: N/A

But when I look at the TimeExtent of results, it shows both start time and end time in MST, e.g, Mon May 30 17:00:00 MST 2011

any ideas as to why images are not showing when time value is there?
Thanks!
0 Kudos
0 Replies