All Questions
828
questions
0
votes
0
answers
53
views
Tiny shiny app to monitor pollinators: leaflet map rendering locally but not rendering online
I work for a biodiversity monitoring project and I am trying to build a shiny app to better organize our fieldwork. I am basically trying to publish a map of our study area overlaid with a grid (our ...
1
vote
0
answers
425
views
Keep Leaflet Popup in View (R)
I'm building a dashboard which has a Leaflet visualisation. When an area is clicked, a rather large popup with a picture and information is displayed, as below (information is blurred because data is ...
1
vote
1
answer
62
views
Show the property number and not the cluster number on a map made in shiny
I have a shiny code that generates clusters of properties and as you can see below, it is displayed on the map made in leaflet. If I place the mouse cursor on the properties, the number of the ...
0
votes
1
answer
181
views
R shiny app clicking on leaflet does not display underlying data
I am trying to display values when a user clicks on a marker using shiny and leaflet.
But I cannot figure out why it is not being displayed. Here's a sample code (source: Click on marker to open plot /...
1
vote
1
answer
1k
views
Dynamic labels on leaflet map (shiny r)
So I've been trying to add a functionality on my leaflet map in Shiny dashboard where the user would be able to choose what the popup label would show through an input checkbox statement (in this case,...
2
votes
0
answers
720
views
Error: "There is no package called 'leaflet'" when trying to render a docker image of shiny app
I have my docker file like this in order to render the image:
FROM openanalytics/r-base
#FROM openjdk:8-jre
# system libraries of general use
RUN apt-get update && apt-get install -y \
...
3
votes
1
answer
344
views
How to create maps based on conditional panel in R with Shiny?
I am trying to create several leaflet maps based on what the user select. I tried to produce a reproducible example.
I have a sf with four shapes (i.e., representing four counties in NC). The user can ...
1
vote
1
answer
504
views
How can I save previous reactive values in R shiny?
Hi and thank you for your answer,
How can I save previous reactive values in R shiny? I want to extract the coordiantes of the last two marker locations (leaflet). I tried it with the isolate function ...
1
vote
1
answer
859
views
Move zoom controls in Leaflet for R Shiny
I have a Shiny application with multiple leaflet maps. I'd like to move the zoom in/out controls from the top left side of the map to the top right, and I'm not sure how to do this - I'm pretty sure ...
2
votes
1
answer
886
views
Show data points only for selected date on a slider via Leaflet in R Shiny
I have created a Timeseries visualization map application that updates data points on Leaflet with the progression of the time series animation.
Now I am trying to add another functionality where when ...
2
votes
2
answers
518
views
Leaflet fullscreen toggle/button in R Shiny
I am trying to create a time series visualization via leaflet with a slider in R Shiny. The app works fine. As an additional step, I am trying to add a toggle/button which the user can click and the ...
0
votes
0
answers
312
views
Time series data visualization in R Shiny
I have a sample dataset that I am trying to visualize point data for a selected based of a slider. But I am getting an error with xts which is as follows:
Error in try.xts: must be either xts-...
1
vote
0
answers
43
views
Weekly time series slider not reacting to leaflet in R Shiny
I have a dataframe in R and I am wanting to view as a time series map with the user having the ability to select a week via a slider. The problem is that the leaflet map is not displaying nor is it ...
1
vote
0
answers
59
views
Click on a leaflet map and create new markers on it while storing the new coordinates
I have the shiny app with the leaflet map below. I would like to know if it is possible to click on a random spot of the map and create a new marker colored let's say red but in any case different ...
2
votes
0
answers
406
views
R Shiny with Leaflet - Remove shape (rectangle) drawn with leaflet.extras
I'm using the addDrawToolbar function in the leaflet.extras package to draw a rectangle in a leaflet map in a Shiny app. After the rectangle is drawn, I can't seem to remove it.
I've tried using ...