All Questions
223
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
63
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
41
views
react-leaflet manage close popup on Child Component
I'm trying to make a react-leaflet popup everytime I click a link that changes the marker position in the child component, but it never closes de popup, here's what it looks like on the map component
...
1
vote
0
answers
75
views
Changing Colours of Leaflet Map
I wonder if and how it is possible to change the color of the map (individual countries, backgrounds and lines) in Leaflet?
I have simply created the basic code of a leaflet map as specified in the ...
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
64
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
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 ...
0
votes
1
answer
181
views
Leaflet-geosearch Implementation by JSON
I encountered a problem that I can’t connect my JSON list in the search field. I can’t find a solution on how to change the provider(const provider = new OpenStreetMapProvider()) correctly so that it ...
10
votes
1
answer
544
views
Load Quarto html map data from json for Leaflet map generated in R
I have created a Quarto blog post which contains many leaflet maps, generated in R. As the data for each map is embedded within the html file, the file itself is very large. This is causing problems ...
0
votes
1
answer
48
views
R Leaflet layer control fails when using clusterOptions
Layers control in this map work well:
library(leaflet)
mini_quakes <- head(quakes, 10)
mini_quakes$stations <- as.character(mini_quakes$stations)
leaflet(mini_quakes) %>% addTiles() %>%
...