I'm curious if there's a time-frame for when the various time-aware features will be supported in V4 of the JS API.
On top of that, does anyone have a suggestion for an efficient work-around for animating radar imagery from a WMS? I'm using the Iowa State NEXRAD like so:
<SPAN class="keyword token">let</SPAN> nexrad <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">WMSLayer</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">{</SPAN>
url<SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>'</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmesonet.agron.iastate.edu%2Fcgi-bin%2Fwms%2Fnexrad%2Fn0q-t.cgi" target="_blank">https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0q-t.cgi</A><SPAN>'</SPAN></SPAN><SPAN class="punctuation token">,</SPAN>
customLayerParameters<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">{</SPAN>
layers<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">[</SPAN><SPAN class="string token">'nexrad-n0q-wmst'</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="comment token">//time must be in 5 minute increments</SPAN>
time<SPAN class="punctuation token">:</SPAN> nd<SPAN class="punctuation token">.</SPAN><SPAN class="token function">toISOString</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">slice</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="operator token">-</SPAN><SPAN class="number token">10</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="operator token">+</SPAN><SPAN class="punctuation token">(</SPAN>nd<SPAN class="punctuation token">.</SPAN><SPAN class="token function">getMinutes</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">-</SPAN> nd<SPAN class="punctuation token">.</SPAN><SPAN class="token function">getMinutes</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">%</SPAN> <SPAN class="number token">5</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">+</SPAN><SPAN class="string token">':00.000Z'</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
My thinking is that I'll just create an animate method which retrieves the preceding 15 time slots and stores them. Then, just cycle through the results.