I'm currently working with a time aware layer and I need to get the timeInfo of that layer.
I'm using this method to get the time extent getTimeDefinition() and the result is undefined.
Although in the mapservice link I can find the TimeInfo section with all the details I need as below:
Time Info:
Start Time Field: WB_SPUD_DT
Time Extent: [1935/01/01 00:00:00 UTC, 2016/01/01 00:00:00 UTC]
Time Reference:
Time Interval Units: esriTimeUnitsYears
Time Data Cumulative: false
(null)
it just tells me it's undefined when I want to get it using this method. am I missing something?
please help!