cran / leaflet.minicharts

:exclamation: This is a read-only mirror of the CRAN R package repository. leaflet.minicharts — Mini Charts for Interactive Maps
3 stars 1 forks source link

Click events for minicharts #3

Open tensorchief opened 5 years ago

tensorchief commented 5 years ago

How can I observe a click event on a leaflet.minichart in a shiny app? I have seen different articles doing this for regular leaflet shapes (e.g. https://stackoverflow.com/questions/42798377/shiny-leaflet-ploygon-click-event), but cannot find anything on an equivalent way of adding this for html dependencies. Could you provide guidance? I would like to create a sidebar that provides a little more details on the data than displayed in the pie chart on the map.

mayeulk commented 4 years ago

Note: the active repository is: https://github.com/rte-antares-rpackage/leaflet.minicharts