Skip to main content

All Questions

Tagged with
1 vote
1 answer
26 views

How to update fillColor to selected input in shiny and leaflet map

I am having a difficult time transitioning my map from static to reactive so a user can select what data they want to look at. I am pretty new to R so please bare with me but I think I figured out how ...
Han-Jiun Ke's user avatar
1 vote
1 answer
23 views

How to add markers in a Leaflet minimap?

I have created an application in Shiny which allows for selecting a place and then displays a datatable with information and a marker at the corresponding position in the map. The marker is set in ...
Raq's user avatar
  • 97
1 vote
1 answer
39 views

Table Display based on filter selection and custom polyline click

I have a shapefile with segments of varying lengths. For each segment, I have attributes including segment id, year, time period, and other variables like traffic volume. Right now a user is able to ...
Krishnan's user avatar
  • 1,287
2 votes
0 answers
31 views

How to dynamically update Leaflet markers with custom icons based on slider input?

I am working on a Shiny app where I want to display a Leaflet map with markers that have custom icons. The icons should change based on a year selected using a slider input. Specifically, markers ...
Quinn Van Konynenburg's user avatar
1 vote
1 answer
24 views

How to Separate Lines for Labels?

I have the following code in R Shiny for a data dashboard I'm working on, but I want the "Median Carbon Level" to be on a seperate line than the "Percent Increase from 2015" ...
Quinn Van Konynenburg's user avatar
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 ...
PhDavey's user avatar
  • 416
0 votes
1 answer
39 views

The position of map (leaflet) not updating from dropdown user input R

I have a global variable called map_status, selectedDropdownData. mapStatus <<- list(map_lng = -110.9747, map_lat = 32.2226, map_zoom = 12) selectedDropdownData <<- NULL I currently ...
Kirthana's user avatar
1 vote
1 answer
40 views

Click on a subregion and autoscale zoom to fit the subregion

I'm developing an R Shiny app and want to have an interactive map, where the user clicks on a region (or subregion), and the map automatically zooms and scales the view to fit the selected region. ...
pseudotsuga's user avatar
0 votes
1 answer
52 views

Problem with deploying shiny app/leaflet to shinyapps.io

I am trying to deploy a very simple app to Shinyapps.io. My app is the following, and the structure of the folder is mines_peru/app.R (the file below) and mines_peru/data/clean_active_mines.RDS. ...
catatau's user avatar
  • 55
1 vote
0 answers
36 views

Render Leaflet Map Layers Asynchronously in R Shiny

I am trying to reduce the loading time of a Shiny App that renders a map via the Leaflet package utilizing large sf object datasets. Much of the slow loading time is attributable to the actual ...
AJJJ's user avatar
  • 11
0 votes
0 answers
48 views

Polygon duplicated when using 'Cut layers'

I'm building a Shiny app using leafpm polygon editor. Basically I apply some changes to an existing polygon, then I save the edited polygons and edit the leaflet map by removing polygons and adding ...
Victor Cz's user avatar
0 votes
1 answer
27 views

Leaflet circle markers are not adhering to my colorfactor palette?

I'm using a defined color palette in my circle markers to show the category of each point on the map. The points that show up on the map are colored according to the palette but the palette does not ...
Nick Curran's user avatar
1 vote
1 answer
36 views

How to use a Cicerone guide for elements of a leaflet map in R Shiny?

Using the Cicerone package, I am trying to create some guide steps for elements inside an r-leaflet map. I have tried a variety of CSS selectors I can think of from inspecting the elements and using ...
jzadra's user avatar
  • 4,194
0 votes
1 answer
64 views

Ignoring prepended content; prependContent can't be used in a Shiny render call

I have a shiny app with lots of points that need to be selected to display data in a table. I love the functionality displayed in this question here. Unfortunately implementing this in shiny produces ...
CCurtis's user avatar
  • 1,870
0 votes
0 answers
28 views

Trouble with R Shiny app, leaflet map using tidygeocoder timing out

I am making a shiny app where you can enter any address and it should find the nearest airport to that address and also the nearest office (of four) to suggest a best path. I have a sf file for the ...
katherine g's user avatar

15 30 50 per page
1
2 3 4 5
22