All Questions
1,954
questions
0
votes
1
answer
53
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
50
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
0
answers
37
views
Interactive R maps that work well on mobile, with inset AK and HI?
Issue: I need an interactive choropleth map of the US that will work well on mobile (ideally pinch-zoom), has a pop-up on tap/click, and has AK and HI set below. Plotly isn't it as you have to tap the ...
0
votes
1
answer
56
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
27
views
r leaflet - color not appearing on legend
I am creating a very simple map, using this code:
library(dplyr)
library(leaflet)
library(dplyr)
library(leaflet)
Rwanda$Quartile<-cut(Rwanda$lpro12x,quantile(Rwanda$lpro12x),include.lowest=TRUE,...
0
votes
1
answer
39
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
82
views
filter leaflet map per year using crosstalk
I would like to filter my leaflet map per year using crosstalk with the filter_select function like this example. So when we select a year it should change the data of the leaflet map. Unfortunately ...
1
vote
1
answer
31
views
R Leaflet addPolarMarker issue - Error in UseMethod("drop_na")
I am trying to use the openairmaps and leaflet in R to add pollution plots on top of a leaflet map. Now I have already done this before, and produced the outcome I wanted, but that was almost 6 months ...
0
votes
1
answer
63
views
How to write/share an html document created in R using crosstalk and leaflet
I've created a filterable map using crosstalk and leaflet in R, and I'd like to share this with coworkers as a standalone document:
library(leaflet)
library(htmltools)
library(htmlwidgets)
#example ...
1
vote
0
answers
148
views
Use CROSSTALK to filter polygons on a leaflet map
I would like to use crosstalk (i can't use shiny) filters on polygons on a leaflet map. Now, I can't connect the result of the filter to the polygons data. After many investigations it seems ...
1
vote
1
answer
72
views
How to visualize single points in shiny app mapview leaflet
I have a large dataset but I am providing 3 records to make this example reproducible with the minimum amount of data. I am able to show on leaflet all the 3 sites at once but I would like to show one ...
0
votes
0
answers
22
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 ...
0
votes
2
answers
61
views
R - Read NativeLand JSON and plot in ggplot
I would like to add my own features to the map of Native Land:
> library(leaflet)
> library(sf)
> url = "https://native-land.ca/coordinates/indigenousTerritories.json"
...
0
votes
1
answer
94
views
Make smooth contours in when using leaflet and tmaps in R
I am using the script below to make to make interactive leaflet map. However, the contours have sharp changes and are not smooth and round. How can I edit this code to achieve that?
The data and code ...
1
vote
1
answer
75
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 ...