Reputation: 123
Leaflet allows to implement an interactive search feature into the map like this
library(leaflet)
library(leaflet.extras)
leaflet() %>% addTiles() %>% addSearchOSM()
However, the results are always showed with a circle marker. How do I change it to the classical pin marker? I'd expect it to be part of the searchOptions()
function, but I can't find an according paramater.
Upvotes: 2
Views: 141