In the MapProxy file we added some code to "cache" the marker of the task, so it is not re-rendered everytime the markers are updated on the map (mostly when setting filters on/off). however i have the impression that this cache is never set, because it is set only when we open the marker popup on the map.
setting it direcly when rendering the marker could improve load when updating filters
In the MapProxy file we added some code to "cache" the marker of the task, so it is not re-rendered everytime the markers are updated on the map (mostly when setting filters on/off). however i have the impression that this cache is never set, because it is set only when we open the marker popup on the map.
setting it direcly when rendering the marker could improve load when updating filters
https://github.com/coopcycle/coopcycle-web/blob/master/js/app/dashboard/components/MapProxy.js#L205