AnsweredAssumed Answered

Time with JS API 3.10 and ArcGIS Server 10.2.2

Question asked by filipkral on Sep 11, 2014
Latest reply on Sep 12, 2014 by filipkral

Hi,

I am having difficulties getting just a single feature from time-enabled Dynamic Layer with JS API 3.10 and ArcGIS for Server 10.2.2.

 

When I query a MapServer service over the HTML REST API interface with the proper time parameter, I get just one feature as expected.

 

When I execute query task in JavaScript with query parameter set to 'query.time = map.timeExtent', the response contains features from all times.

 

I checked the request that the browser actually sends (in Chrome's Network tools) and the time parameter is missing. So it looks like the JavaScript library does not append the time parameter to the request.

I tried several ways of specifying query.time and I tried JS API 3.8 and 3.9 too, but nothing worked.

 

Can anyone confirm that the time parameter works?

Regards,

Filip.

Outcomes