Skip to main content

All Questions

Tagged with
13 votes
2 answers
5k views

leaflet labels overlap fix - leaflet::addMarkers

I am looking for a fix for overlapping labels when using R function leaflet::addMarkers. long <- c(147.768, 147.768, 147.768,147.768, 147.768, 147.768) lat <- c(-36.852, -36.852, -36.852,-36....
Erin's user avatar
  • 265
2 votes
1 answer
3k views

Shiny leaflet map - filtering data by columns, not rows

First, I have a perfect solution here how to create a Shiny leaflet map and filters based on rows. Now I want to show a very similar map, where filters are applied to columns. Stumbled a little bit. ...
Anakin Skywalker's user avatar
1 vote
0 answers
586 views

R Leaflet leave markers on top [duplicate]

Hi I am trying to have multiple layers to a map in Leaflet R while leaving the markers as the top most layer. I tried using bringToFront() in highlightOptions() for the addCircleMarkers option but ...
OK_Sooner's user avatar
  • 131
1 vote
1 answer
2k views

Select Input for Leaflet in Shiny

I am trying to construct a map with leaflet using shiny however my code does not change the leaflet map according to the selected input. Does anyone know how to make this code below react to do the ...
ipekcinar's user avatar
1 vote
1 answer
817 views

Offline R map with RggogleMap and Leaflet

I'm trying to create an interactive offline map of Canada in R After doing a bit of searching, RgoogleMaps and Leaflet seems like the best option. I followed the code here: R Leaflet Offline Map Tiles ...
jarvsh2929's user avatar
3 votes
1 answer
1k views

How do I output leaflet map from R into format where I can edit using Leaflet commands?

I have some experience with using R for data manipulation and making maps with GIS software, so I just tried to make my first Leaflet map using the Leaflet for R package. Working off of tutorials I've ...
mmalloy's user avatar
  • 74
3 votes
2 answers
1k views

how to plot multiple isochrone on leaflet map in R

i can plot one isochrone in R at a time using Rmapzen package with this code, each isochrone is generated as a sp object, is there any way to create multiple isochrone on the same map like the ...
santoku's user avatar
  • 3,417
1 vote
1 answer
2k views

Leaflet separate lines

I am trying to plot lines using leaflet, however I am encountering some difficulties in separating the segment. I have an object that looks like this > head(trips, n=15) time.start time.end ...
Marco De Virgilis's user avatar
2 votes
1 answer
7k views

How to add multiple polygons in leaflet map using r loop?

I'm trying to add multiple polygon to leaflet world map, according to a number of lists of country code. And I was trying to use R loop to add the polygon. Here's the code that I manually add polygons ...
Daisywang's user avatar
  • 297
0 votes
1 answer
782 views

Blank popup in leaflet R

I am trying to map San Francisco's crimes in a map. The below code intends to map every crime (lat, lng) and when the marker is clicked, show the "category" column of the dataset. Right now the below ...
Daniel Vargas's user avatar
-2 votes
1 answer
51 views

How can I plot the routing from two cities,like from Milan to Paris? [closed]

How can I plot the routing from two cities,like from Milan to Paris,using leaflet?or several cities,plotting a network.
DatascienceGeeks's user avatar
1 vote
1 answer
994 views

Geomapping Data in Shiny

I have two set of data that I am attempting turn into geomaps using rshiny. I have been able to get the coordinates of my locations, and have been able to get them mapped on R. I am now starting my ...
M.McHugh's user avatar
1 vote
1 answer
1k views

R: Make interactive maps that can be exported to HTML

I have been working with Leaflet for creating cool interactive maps in R. However, I cannot export the maps, as the background map ends up being grey after export. library(leaflet) library(...
Esben Eickhardt's user avatar
6 votes
2 answers
14k views

Draw a map of a specific country with leaflet

I would like to use the package leaflet with R to draw a map of a specific countries such as Italy, Spain, etc. I checked the basic examples with the function setView() and I tried to give a vector ...
Omlere's user avatar
  • 263
3 votes
2 answers
5k views

R Shiny Leaflet: Click on Shape and Zoom to Bounds (using maps package)

For reasons, I am limited to using the "maps" package to generate maps for a leaflet-centered R Shiny app (i.e. I cannot use shape files, rasters, etc. It must be a map object); however, i am running ...
sehock's user avatar
  • 389

15 30 50 per page