Skip to main content

All Questions

Tagged with
1 vote
1 answer
96 views

Leaflet event on Shiny works only once

I'm developping a Shiny app including a leaflet map. On the Shiny app, I've one panel, that displays a button. If this button is clicked, this panel is reorganized and the map is replaced by other ...
Leaflet_shiny's user avatar
0 votes
1 answer
172 views

Why is Leaflet issuing this warning in R/Shiny: Ignoring appended content; appendContent can't be used in a Shiny render call

I am using tmap with leaflet in a Shiny app as I want to draw on a thematic map. However, creating the leaflet object using tmap_leaflet seems to generate a warning which I cannot find an answer for: ...
Polonium's user avatar
1 vote
1 answer
55 views

The map generated by the googleway package is not updated after pressing the other tabPanel

The code below generates two maps, one being generated by the googleway package and the other by the leaflet package. See in the image that a region is selected in selectInput and automatically two ...
Carlo Soares's user avatar
1 vote
0 answers
104 views

R Shiny: Can't run JS code in a leafletProxy instance

I have shinyapp where I have a leaflet map. I want users to be able to click on the polygons and highlight them right away - while unhighlighting the previous polygon. I successfully do this using ...
Kauê Braga's user avatar
1 vote
1 answer
45 views

Make Tmap keep the same viewport when redrawing (R/Shiny)

I'd like to store the centre coordinates and zoom in Tmap so that when the map gets redrawn it uses the last known centre point and zoom level. The current behaviour is that it resets to the initial ...
Polonium's user avatar
0 votes
1 answer
117 views

R Shiny Leaflet Show number of overlapping markers / polygons?

I'm working with a large set of location data, and it turns out a lot of my locations share longitude and latitude values. Is there a way to show the number of markers / polygons that overlap, either ...
rwjam's user avatar
  • 173
1 vote
1 answer
325 views

Multiple leaflet maps in separate tabs do not appear in R Shiny Dashboard

I am trying to render maps in separate tab items. When I render maps individually, it works perfectly. But I do not get any maps when I want the maps in separate tab items each is associated with a ...
Justin's user avatar
  • 374
1 vote
0 answers
76 views

Figure labels and references for tmap (leaflet) maps in a Shiny markdown document

Is it possible to create figure labels, and reference them within text, for interactive tmap objects in a R markdown that will be rendered/hosted using shiny runtime to make an interactive document? ...
BEVAN's user avatar
  • 450
0 votes
1 answer
220 views

Shiny leaflet map reactive

I am in the process of making a shiny app. I am trying to make my map interactive where the map shows only the selected Sites. Although, right now my map is showing the location of every single site ...
Dome's user avatar
  • 87
0 votes
2 answers
58 views

How to deal with factor values in a data frame when building a reactive map widget on shiny?

I am currently developing a reactive map on Shiny. This map is basically a US map where a selectors enables the user to display different quality variables. The data frame used (called data)looks as ...
Augustin's user avatar
0 votes
1 answer
341 views

leaflet proxy does not update correctly with observeevent in shiny app

I have a shiny app that allow user select the project via checkboxGroupInput and show that on the map ! by default all options are selected. But when User de-selct all, the last group will remain on ...
Haribo's user avatar
  • 2,142
1 vote
1 answer
286 views

Select multiple items using map_click in leaflet, linked to selectizeInput() in shiny app (R) based on filtered data

I'm creating a shiny app (my first ever) that uses the solution offered by ismirsehregal to (de)select multiple items using map_click and selectizeInput. Select multiple items using map_click in ...
klmcdonald's user avatar
1 vote
1 answer
580 views

How to add a Mapbox layer using R, Shiny, and Mapboxer?

I have an Shiny application using Leaflet. I will migrate it to Mapbox using mapboxer library. My main question is how to adapt the scenario below: The user can choose the data which will be ...
Paulo Marques's user avatar
3 votes
1 answer
304 views

Leaflet map inside reactable table R Shiny

I would like to include maps in one of the columns of a reactable table, each map would be occupy a cell inside the table. Something like this: I've tried this: library(shiny) library(reactable) ...
CodingBiology's user avatar
0 votes
1 answer
441 views

Is there a way to display R Leaflet label values in a separate box?

On the JS Leaflet page the population density is shown in a panel in the upper right hand corner when a state is hovered over. Is there a way to create a similar box in Leaflet using R? I created a ...
Liz's user avatar
  • 23

15 30 50 per page
1
2
3 4 5
56