Closed jreyesr closed 3 years ago
Thank you very much!
Guys! Thank you all of your work it looks great! Thak you! Could you help me somebody in the build process, because in my enviroment i cannot do it. I am sorry for this, and thanks for your help! rgsd Tibor
This PR closes https://github.com/panodata/grafana-map-panel/issues/97
As requested by @falconhome in https://github.com/panodata/grafana-map-panel/issues/97#issue-894036156, this PR adds a setting that refreshes the overlay image, if enabled, on each dashboard refresh. Currently, the overlay is fetched only once, on page load, and the only way to refresh it is to reload the page with F5 or to open a new tab.
This is not an issue if the image is fixed (for example, a more updated or detailed view of the area), but it can be a problem if the overlay is updated regularly (for example, a heatmap computed from sensor data that is updated as new sensor data streams in). In this case, it is desirable to display the latest/most recent image.
The PR adds a toggle switch that forces a reload of the overlay whenever the Grafana dashboard is refreshed, either manually via the refresh button or automatically on an interval.