aafgilbert01

how to get the time extent of individual layers

Discussion created by aafgilbert01 on Sep 25, 2012
Latest reply on Sep 28, 2012 by aafgilbert01
Hello,

I am looking for a code example to browse through the sub-layers of a "ArcGISDynamicMapServiceLayer". I want to spot the first layer that is "time enabled" and if I find one, I want to set the extent of that time enabled layer. Afterwhile, I need to set the timeslider property according to that enabled layer. If possible, I would like the code to work for all types of time enabled layers including mosaic raster dataset that contains weather forecast in my case.

François

Outcomes