All Questions
828
questions
0
votes
1
answer
65
views
Connecting R Leaflet to esri vector tile service
I'm building a Shiny leaflet application that I want to use a ESRI vector tile map from my organization for. I can see that leaflet connects to it as the attribution is accurate. However the tiles ...
6
votes
3
answers
5k
views
Coordinates of current mouse position on leaflet map with shiny
I want to access the current mouse position in a leaflet map in shiny. When using shiny you can get the current coordinates of a click event using input$MAPID_click, which contains latitude and ...
1
vote
2
answers
2k
views
Generate random colors for leaflet map
Great R Gurus,
I am struggling to find a way to randomly mix discrete colors for my leaflet map for a large number of observations.
The problem is the following command put similar colors next to ...
3
votes
1
answer
519
views
R Shiny leaflet stop zoom on scroll and use ctrl + scroll to zoom the map & move map with two fingers on mobile?
I am creating 100 + leaflet maps in my shiny app.
The maps are 100% of the width of the page, so when the user goes to scroll down the page it zooms the map but I would like it to continue scrolling ...
2
votes
0
answers
498
views
Time series chloropleth in R Shiny / Leaflet
How do you animate a choropleth in RShiny over time using leaflet? I would like to animate the color of choropleths over time in Shiny according to their numeric value.
Below is what I have tried, but ...
2
votes
1
answer
1k
views
How to show path and distance on map with leaflet, shiny apps?
I would like to show the distance between two locations using the leaflet package in a shiny app.
I don't know how to do it. A line should connect two points on a map and display the distance on it.
...
1
vote
1
answer
3k
views
Delete Polygon from Leafletmap R/Shiny
I draw a Polygon on a leafletmap which I use in a shiny app.
Everytime an event is fired I want to delete the old polygon and draw the new one over it.
That does not work - I assume I use layerId ...
0
votes
0
answers
23
views
R Leaflet - Problem Highlighting Features Underneath Layer
I am encountering a problem where I can't see highlighted features underneath a transparent top layer.
I have a simple map setup, where I have a US county choropleth layer with a transparent US state ...
1
vote
1
answer
83
views
Is there a way to pop out a leaflet map in an R Shiny app into a new browser tab?
I'm making an R Shiny application that includes a leafletOutput map that maps certain datapoints from a filtered dataframe. Is there any way to expand that map to a full screen size in a new browser ...
1
vote
1
answer
886
views
Problems scaling map. Shiny + leaflet
I can't have "full screen" map in my shiny app, because when I used "100%" parameter, the map disappears...
ui <- fluidPage(
leafletOutput("mymap", height = "...
1
vote
1
answer
92
views
clusterOptions() displaying correct area of map but no markers or clusters
I am working on a Shiny app in R that creates a leaflet map and plots points.
Plotting the points by themselves works fine. The issue arises when I try to implement even the most basic clusters.
I can ...
15
votes
1
answer
6k
views
Click event on Leaflet tile map in Shiny
Is it possible to get the lat long from a click event in leaflet/shiny (in R) from the tile map? (i.e. NOT from any loaded markers, polygons etc). Just to show positional (lat/long) info i guess.
I ...
0
votes
1
answer
60
views
Can leaflet layer controls be used to alter popup contents in a Shiny dashboard?
I am building a dashboard in R Shiny that includes a map rendered using R leaflet. There are popups associated with locations on the map and items in the popup are also used as layer controls. i.e., ...
0
votes
1
answer
55
views
Leaflet proxy in r only shows latest added Layer
I want to visualise the development of fatal traffic accidents and accidents with severe injuries on state and community level in a leaflet map.
As a solution i use a shiny app with a radio button for ...
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,...