All Questions
7
questions
0
votes
0
answers
74
views
How to turn off the double-click/zoom behaviour of a leaflet map?
I am building a shiny app that contains a leaflet map object and the following functionality.
Basically, I want to single-click on the map, grab the coordinates of the clicked spot, use sf to filter ...
0
votes
1
answer
192
views
R addEasyButton - mouse hover label for a new button
I am using R leaflet and I added a custom button to the map using 'addEasyButton'. I have trawled any conceivable source and can not find a suggested way to create a mouse-hover label to pop up for my ...
1
vote
1
answer
1k
views
Bring a group of markers to front in leaflet
I am attempting to map some densely-located locations on leaflet in rShiny with awesomeMarkers. I have tried a variety of methods, but what I would like is to have a certain group of markers appear ...
2
votes
0
answers
1k
views
Shiny module: To return multiple reactive outputs from a single function in a module (linking a leaflet map and data table)
I'm coding a Shiny module to link a leaflet map with a data table (the code is based on Shiny - how to highlight an object on a leaflet map when selecting a record in a datatable?).
The difficulty I'...
2
votes
0
answers
66
views
mapedit change color and opacity
I have a simple app that allows a user to draw a feature.
How can I also allow the user to select the fill colour and opacity by providing a hex code.
Reproducible example:
library(mapedit)
library(...
1
vote
0
answers
294
views
How do I get a numeric input in a Leaflet map using Shiny to work?
Here is some reproducible R/Shiny code that I whipped up to illustrate the issue I am having... Basically, if I try to embed a numeric input into a leaflet map, as illustrated below, I am unable to ...
4
votes
0
answers
445
views
Make Shiny Leaflet recognise a map created from an externally hosted JS file
I would like to use Shiny Leaflet to render an already existing leaflet map, but problems arise since the initial map is created from an externally hosted (rather complicated) JS file, which I do not ...