Skip to content
Advertisement

Tag: crosstalk

Use lasso instead Rectangle for select reign in Leaflet

I am trying to show a leaflet map using R(I can not use Shiny package). I use a ‘DT’, ‘crosstalk’ and ‘leaflet’ packages to calculate the mean of a column for selected data in map. In the map, it select the points only by Rectangle shape. Is it possible to select by lasso ? I found leaflet-lasso(Lasso selection plugin (Demo),Jan

Advertisement