All Questions
Tagged with r-leaflet react-leaflet
7
questions
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
1
answer
180
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 ...
0
votes
1
answer
236
views
How to make a reactive Leaflet with a selectInput in Shiny?
I am trying to create a map using leaflet in which interacting with a selectInput modifies the data loaded in the map. I think I'm doing the filtering right and using the reactive variables but I keep ...
1
vote
0
answers
567
views
How to make a reactive color scale in leaflet map
Building a map in leaflet where color scale changes accordingly to the inputs.
server <- function(input, output){
raio <- shiny::reactive({ as.data.frame(agrocorrigidoMGBA %>%
...
0
votes
1
answer
358
views
React Leaflet - Amend X/Y LatLng to work from center rather than bottom left using CRS
Hey has anybody managed to change the X/Y axis start points in react leaflet? I need my co-ordinates to work from the middle of the map rather than the bottom left using CRS. Below is what I have so ...
0
votes
1
answer
489
views
How to update shiny reactive only if threshold is crossed?
In the code below, the leaflet addCircles get drawn twice after a change in zoom. I think this double plotting occurs because the reactive to create a dataframe always updates with a change in zoom. ...