Skip to main content

All Questions

Tagged with
0 votes
1 answer
52 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 ...
PhDavey's user avatar
  • 416
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 ...
fluegelrad's user avatar
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() %>% ...
mzkrc's user avatar
  • 287
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-...
Romain's user avatar
  • 1
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 ...
outsidethebox93's user avatar
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 ...
jjjjohnson's user avatar
1 vote
1 answer
88 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 ...
z3r0summ's user avatar
0 votes
0 answers
56 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 ...
Rich Pauloo's user avatar
  • 8,154
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) %&...
Salvador's user avatar
  • 1,467
0 votes
1 answer
94 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 ...
symbolrush's user avatar
  • 7,355
1 vote
1 answer
150 views

Displaying Two Different Datasets on One Map

I want to visualize two distinct datasets on a common map for comparison purposes (so they should have different Icons). So far, I've been using the following code, but it only allows me to display ...
Weiss's user avatar
  • 283
10 votes
1 answer
528 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 ...
SamR's user avatar
  • 16.4k
0 votes
1 answer
46 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() %>% ...
Gonzalo T F's user avatar
1 vote
1 answer
84 views

Display coordinates in a table when markers are dragged in shiny app

In my simple shiny app, I'm able to drag the markers on the map and see their new coordinates in observe function : coords_data <- data.frame(id = 1:3, lng = c(2, 30, 50), lat = c(48, 40, 60)) ...
Haribo's user avatar
  • 2,130
2 votes
1 answer
267 views

Legend Disappearing on Geographic Map of North Carolina?

I am working with the R programming language. Using this built-in map of North Carolina, I generated 3 random variables (income, number of kids, weight) and then created maps (with the "leaflet&...
stats_noob's user avatar
  • 5,675

15 30 50 per page
1
2 3 4 5
14