Open opeeters opened 4 years ago
@opeeters as library we could use chart.js. I've made a small sample: https://jsfiddle.net/vf2okq8y/
As estimation i would say 2 days. It seems fairly easy to make a single chart, but we should take in to account:
Some initial questions: Can you inform me about how to use the getFeatureInfo service? Can i give a bbox of 2 times the point where was clicked? or does it need to be an enclosing bbox? Is it possible to get multiple times in one request? or do we have to do really 24 requests (for the 24 different hours) for hmean? (this seems a lot and rather inefficient)
Currently, when clicking on a station, you get e.g. this:
When clicking in between stations, this pop-up generated via
L.WMS
is empty:Instead, the click-event could trigger a graph generation (concentration versus time) for
interval
:hmean
&24hmean
: last 24 hoursdmean
: 7 daysanmean
: 5 yearsExample
getFeatureInfo
: