-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refreshing Weather tiles #110
Comments
@rladines – if the query of the data was refreshing every 30 seconds, wouldn’t it also refresh the layer? I’m thinking that OpenGrid is about the data that you are querying and the layer comes along with it. From: Tom Schenk Jr [mailto:[email protected]] This will allow people to see storms "move" over time. Based on a cursory overview of weather sites, here are the refresh schedules:
Could we aim for updating every 5 minutes? If that's too burdensome/clunky/distracting for the user, we could push it out to every 15 minutes and still be in line with most websites. — |
@dianaclem, @tomschenkjr -- the data refresh does not refresh the layer. The rendering of layers is currently controlled by Leaflet while the query submission and scheduling are controlled by the app. We'll need to see if Leaflet exposes an API call to force the refresh of a given layer. If not, we need to test if simply turning a layer off then back on will trigger a re-fetch of the layer's tiles. One thing going against us is the browser caching the tiles (which are really just images) so there are some nuisances to this we'll need to deal with. |
@rladines - good point on the caching tiles. That's going to be pretty difficult to deal with. |
This will allow people to see storms "move" over time.
Based on a cursory overview of weather sites, here are the refresh schedules:
Could we aim for updating every 5 minutes? If that's too burdensome/clunky/distracting for the user, we could push it out to every 15 minutes and still be in line with most websites.
The text was updated successfully, but these errors were encountered: