Tag Info

New answers tagged

1

If you used OpenLayers 3, the following link can help you: http://openlayers.org/en/v3.0.0/examples/export-map.html


1

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 ...


1

The easy way is to put everything from var geojson = { down to the closing }; into a new file and loading that as JavaScript file in the head of your HTML. For example: geojson_data.js: var geojson = { type: 'LineString', coordinates: [ [28.24, 84.75, 7.6, .45, '04/25/2015', '11:56', 'Gorkha'], [28.41, 85.8, 5.5, .12, '04/25/2015', '12:23', ...



Top 50 recent answers are included