All Questions
1,851
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 ...
0
votes
0
answers
55
views
Why are my leaflet points stuck to the map edge?
I try to plot transit stops on a leaflet map, indicating local clustering ("LISA"), based on Moran's I. The map is embedded in an R markdown file.
I've successfully done that with polygon ...
0
votes
1
answer
62
views
Leaflet does not work with a specific basemap layer in R
I am recently working on a project. Its one dimension is to make a leaflet map with different basemap layers. Here is the code so far;
library(leaflet)
library(leaflet.providers)
leaflet() %>%
...
0
votes
1
answer
41
views
Can't add WMS layer to R Leaflet
I want to make a leaflet map in R with this wms servic : https://data.geopf.fr/wms-r/wms?VERSION=1.3.0
It works well in QGIS but not with addWMSTiles.
library(leaflet)
layer="ADMINEXPRESS-COG-...
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
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 ...
1
vote
0
answers
63
views
Add time slider for a stack of rasters
I'm looking for a static HTML solution (no Shiny) to incorporate a timeslider for raster data in a leaflet.
leaflet.extras2::addTimeslider() requires the data argument to be "a Simple Feature ...
0
votes
1
answer
232
views
Scrape leaflet map coordinates from a dynamic website
I am trying to scrape the marker coordinates from a website containing a leaflet map (osm data). I have been trawling the web for answers and it appears that a simple query to the parsed html will not ...
0
votes
0
answers
54
views
How to offset addStaticLabels using mapview or leaflet
How can the labels be moved up, down or to the sides. direction and offset seems to be ignored. I would like my labels to be moved to the bottom.
library(mapview);library(leafem)
mapview(franconia) %&...
0
votes
1
answer
102
views
LabelOnlyMarkers in R Leaflet with specific colors
I want to build a leaflet map with CircleMarkers and LabelOnlyMarkers atop the circles. Labels and circles should have colors specified in a data.frame column.
The following does what I want, except ...
1
vote
1
answer
194
views
Custom legend order in R leaflet
I created a leaflet map and now need to customize the order of the legend. By default leaflet alphabetizes the legend order. In the example below, I need the legend order to be (from top to bottom): ...
0
votes
1
answer
61
views
Change leaflet marker fill color by group
In the example below, I have cities located on a leaflet map. I would like the fill color to be yellow for cities in Virginia and green for cities in North Carolina. How can I set the fill colors of ...
0
votes
0
answers
50
views
Is there any way to expand polygon objects, just to make them touch each other graphically?
I created these shape objects through K-Means clustering but I want them to have touching borders without doing anything too manual. Any assistance would be great. Working with crime data and it doesn'...
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 ...