All Questions
22
questions with no upvoted or accepted answers
2
votes
0
answers
2k
views
Export/Download leaflet map in shiny in various formats?
I created a shiny dashboard to analysis the crimes in chicago. Therefore I also built a leaflet map of chicago where we can see based on markers how many crimes happened in which area of chicago. I ...
2
votes
0
answers
656
views
How to select superimposed circles in R leaflet::addCircles?
I am using the leaflet package for R to plot circles in sizes and colors that are determined by a set of variables. It works well, but not all circles can be selected with the cursor. I cannot show ...
1
vote
0
answers
271
views
How to make control polygon layers using check box inputs in r shiny
I have an interactive map containing several polygon layers. To turn on/off those layers, we can use addLayersControl() function. However, I'd like to have my own checkbox table out of the map. I ...
1
vote
0
answers
108
views
Leaflet not generating properly in dynamic R markdown document
I have asked this question before here.
Initially the focus was on a point map, which the answer fixed. However looking at clustered and heatmaps, the issue persists.
Point generates fine (fixed via ...
1
vote
0
answers
45
views
Is there anyone who can figure out why popups in my map function are not coming up on the map on click in R? Using leaflet
I'm creating a map with leaflet with zip code and county polygons. I would like for the values for columns "GEOID10" and "percent" from data set df to popup when I click on their ...
1
vote
1
answer
360
views
Want to add 10 different types of icons to a leaflet map
Look at my R code, here I am able to mark two different types of marker icon but I want to mark for all the 10 values of quakes$mag column with 10 different types of marker icons.
quakes1 <- ...
1
vote
1
answer
911
views
How can I add a download button on a map made with leaflet in R?
I tried adding several scripts in Java to create this button, but they have not worked. Could you help me? I show you the last thing I've tried.
sp %>%
leaflet() %>%
addTiles()...
1
vote
0
answers
221
views
Choropleth change polygon colour based on layer in R leaflet
I have a large number of polygons (>5000 to cover the UK) that even simplified cause quite a large map file. I also have a set of information about each of these polygons with a value per week over a ...
1
vote
2
answers
373
views
How to plot the whole data of dataframe in leafletProxy()?
I am working with R in RStudio and created a shiny dashboard. Within the dashboard I am using the leaflet() function to plot a map. Now I am trying to put markers on the map which shows the crimes in ...
1
vote
0
answers
72
views
Different colour markers or ID numbers for different coordinates with legend in leaflet
I have a data set on 44 health facility locations (Longitude and Latitude), facility name, type and ID.
The task I need to execute are:
1a) I want to map the facility locations each having different ...
1
vote
0
answers
1k
views
How to plot a large rasterfile quickly in R leaflet with shiny
I obtianed a large rasterfile (.asc file), which I can import in R and plot on a leaflet map. Because the file is pretty big, it takes about 40 seconds before the rasterimage is plotted on the basemap....
1
vote
0
answers
131
views
Map (with geojson) instead of Leaflet map
I am doing a poster for class. Everything was ok, I created a descent map for showing some data in New York, using Leaflet.
jpal <- colorRampPalette(c("#03B9FF", "#801515"))
# qpal <- ...
1
vote
1
answer
624
views
How different colors to different sections of a route on leaflet map? [R Studio]
I have a JSON file of a long route. The file contains the lat and long of of this route.
I'm trying to mark different sections of this route based on a set of criteria (which I've compiled in a ...
1
vote
1
answer
1k
views
Advanced Popups in R Shiny Leaflet
I have a dataset as follows
itemcat country item Price date_today lat lng
Clothes Bangkok Shoes $5 2016-04-27 13.75 100.51
Clothes Bangkok Tshirt $5 2016-04-27 13.75 100.51
Clothes Bangkok Skirt $5 ...
0
votes
0
answers
211
views
Issue add icon and legend with leaflet in r
I try to reduplicate the below code in r markdown, but meet:
"Error in htmltools::tags$polygon(id = "diamond", points = draw_diamond(width = width, : attempt to apply non-function"....