Selecting points in map based on selection on the datatable

I have a point shapefile. I have a datatable with IDs of the shapefile and other additional information. I want to show the points in map based on the rows selected in the datatable. I could do this in a leaflet map, but I am unable to do this using observeEvent and leaflet proxy map. The problem is that, I can select the points in map based on datatable rows, but if I don't select any particular row, the previous selection remains in the map. I want nothing in the map, if nothing is selected.

Hi, something like this using crosstalk perhaps?

Crosstalk (rstudio.github.io)

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.