New answers tagged html5
If you used OpenLayers 3, the following link can help you: http://openlayers.org/en/v3.0.0/examples/export-map.html
One example using jQuery. You would need to integrate with your existing script; maybe keeping a default timeGap of 5000 (in case the user doesn't enter one), but overwriting that with the input value if the user clicks the submit button. You could also trigger this with the play button, grabbing the value from the input if it exists. <script ...
Top 50 recent answers are included