@tom I’m not sure how to only re-render markers etc. and not the entire Leaflet map based on user input/filters. Is there a way to prevent re-rendering by referencing an existing map and removing/adding points?
Here is the example I’m working on:
@tom I’m not sure how to only re-render markers etc. and not the entire Leaflet map based on user input/filters. Is there a way to prevent re-rendering by referencing an existing map and removing/adding points?
Here is the example I’m working on:
See the “A map that responds to reactive variables” here:
@mbostock Excellent example, thanks. Looks like something might be broken though – the inputs don’t seem to have an effect on the maps (at least in my two machines nothing happens)?
Here’s a different take on mutating a map: