You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the heatmap is only updated when the user interacts with the data, but it should be automatically updated when the data is returned from the query.
Definition of done
Determine the point when the map can be refreshed.
Implement a hook to refresh the map when the data is available.
Ensure that the map is refreshed every time data is filtered is interacting with charts.
The text was updated successfully, but these errors were encountered:
"Refresh" function can be actually placed in filter.js file but the problem is that once leaflet map has been initialized it is not possible to reinitialize one. There is built in "update" function (within leaflet) but even if calling it, data/heat won't update. The solution I came up with that seemed to work is onFiler event, removing DOM element from the page and reinitialize leaflet map with fresh data. Not the best approach but at least this could work
Currently the heatmap is only updated when the user interacts with the data, but it should be automatically updated when the data is returned from the query.
Definition of done
The text was updated successfully, but these errors were encountered: