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:
(null)
it just tells me it's undefined when I want to get it using this method. am I missing something?
please help!