All Questions
11
questions
0
votes
1
answer
69
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 ...
4
votes
0
answers
140
views
Shinylive app doesn't render leaflet map tiles
I am trying to move an r-Shiny app onto a website using the shinylive package. The app is exported to HTML and it is functional, except that a leaflet map that is embedded in the site does not render ...
1
vote
1
answer
50
views
How can I change tmap buttons and legend to be behind the footer?
I am making a shiny app with a footer. This footer will have some logos and other info, and it should always appear at the bottom of the screen, even when scrolling up and down. The app is multi-...
0
votes
0
answers
469
views
Incorporating Sliders into a Leaflet Map
I was following this tutorial here (https://rstudio.github.io/crosstalk/) and tried to run the code:
library(crosstalk)
library(leaflet)
library(DT)
# Wrap data frame in SharedData
sd <- ...
0
votes
1
answer
602
views
How do I output my leaflet map from R into a Sharepoint site
I created a leaflet map using R, saved as a webpage (html) on a local folder. My organization has a sharepoint site, and I'd like to host the map on a sharepoint site/page, so that people in my ...
2
votes
1
answer
484
views
Problems embedding a leaflet map in a xaringan slide
I am trying to include a leaflet map in a xaringan presentation. There are several examples of this online, including in this presentation.
When my colleague tests the minimal example below they get ...
0
votes
0
answers
166
views
Scroll bar and other content disappear on adding a leaflet map to a webpage (weebly)
I am trying to add a leaflet map to my website on weebly.
To do the same:
I published the leaflet map from R as a webpage (.html)
I added the html page on my git account here
I used the embed code ...
1
vote
2
answers
3k
views
Post local image into a popup using leaflet and R
I've been trying like crazy to add local images (as in image files in my computer) into my leaflet map using R. I have plotted around 500 coordinates analyzing some images and I wish to show that ...
3
votes
1
answer
4k
views
labels in leaflet r with HTML tags
All good souls, help needed. I am creating a leaflet map and cannot resolve a strange issue with labels. I created labels with few variables and the labels render ok if the first variable is numeric, ...
5
votes
1
answer
296
views
Leaflet Layer Tiles not switchable when .html (= .Rmd output) is opened with browser
For several days now, the basic layer tiles "OSM" and "Stamen.TonerLite" (which I've been using for over a year as standard tiles for my maps) are not shown correctly – i.e. it's not possible anymore ...
2
votes
2
answers
2k
views
R leaflet - cannot export map
I plot a route on a map using R and leaflet :
ct <- read.csv("fl1.csv", stringsAsFactors=FALSE)
m <- leaflet(ct, incl.data=TRUE) %>% addTiles()
m %>% addPolylines(~longitude, ~latitude, ...