All Questions
41
questions
9
votes
1
answer
2k
views
How to create an interactive plot of GTFS data in R using Leaflet?
I would like to create an interactive map showing the public transport lines of a city. I am trying to do this using Leaflet in R (but I'm open to alternatives, suggestions?)
Data: The data of the ...
7
votes
2
answers
3k
views
How can I remove attribution in leaflet map in R
I am working on a shiny application in R which involves maps generated with the leaflet package. I would like to remove the attribution from the map, or at least reduce the visible text.
I tried to ...
4
votes
1
answer
3k
views
R Leaflet Legend: colorBin- removing decimals in between breaks
I am creating an interactive HTML map in R using the Leaflet library.
The legend employs the colorBin method for creating the 6 categories to break the data into.
Using the min(values) and max(...
3
votes
1
answer
3k
views
Vary label color in R Leaflet
I have a data frame with a binary variable and xy coordinates. I can map the data with Leaflet and vary the color of the markers for each variable, but I want to know if I can also vary the label ...
2
votes
2
answers
4k
views
Custom markers on Shiny leaflet map
I need to map on Shiny leaflet map points based on their type - four types in total with the same marker of a different color.
I checked this:
https://rstudio.github.io/leaflet/markers.html
This ...
2
votes
2
answers
3k
views
Is it possible to use rMaps to draw a route on a map in R?
I'm trying to use rmaps http://rmaps.github.io/ to draw the route a vehicle follows onto a map. In my ideal world, the map should:
* be interactive (i.e. zoomable, scrollable)
* store and display ...
2
votes
1
answer
324
views
display map just once (leaflet and shiny)
I am new to Shiny, I have gps data and would like to display it nicely on a map. I need to do an animation that depends on time - basically, track an individual over time on a map. The problem that I ...
2
votes
1
answer
2k
views
R Shiny leaflet addPolygons (colors are not showing)
I hope you can help me. I have created a choropleth Map with Leaflet. I merged my (dataframe with countries and a random score) and a Shapefile with the Polygon data. So far it is working, however if ...
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
2
answers
2k
views
Interactive Map in R using leaflet/Shiny
I want to create a map with a sidebar where you can select the range of a time period. The idea is that the map shows marks only for hotels which opened during the period. I had no clue to do that so ...
1
vote
1
answer
383
views
Geo mapping in R
I have a transaction data at country level.
Data Sample:
TransID CountryOrigin(CO) CountryDestination(CD) COLat COLong CDLat CDLong
1 India Australia ...
1
vote
1
answer
875
views
Issue with R Shiny, Leaflet --> SelectInput to Change Selection in Drop Down Menu
I am a new R Shiny user and I'm trying to map out all the destinations one can fly to from an origin airport.
I've successfully created a map that displays all the airports of a country when I hard ...
1
vote
1
answer
653
views
Leaflet map not rendering in shiny app but rendering in console
I am creating a Shiny App dashboard which involves plotting a map using Latitudes and Longitudes using Leaflet in one of the tabs. I need Leaflet for Zoom and the popup option. However, the map is not ...
1
vote
1
answer
2k
views
Leaflet and Shiny - formal argument "selected" matched by multiple actual arguments
Folks, I almost completed my first Shiny app ever, but stumbled.
Checked all here https://stackoverflow.com/search?q=shiny+map+r
My code:
# Packages
library(shiny)
library(dplyr)
library(leaflet)
...