Highlight R leaflet polygon pointed by select Item (without cliking on it)
问题 On R shiny app, is it possible to have a leaflet map that highlights polygons pointed by select Item (it should work just moving the mouss above the list and without having clicking on it) ? In the following reproductible example, I would like this Shiny app to highlight the polygon corresponding to the mouse cursor location but without having to click on it. library(shiny) library(shinyjs) library(leaflet) library(sf) download.file(url = "http://thematicmapping.org/downloads/TM_WORLD_BORDERS