-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support leaflet in revealjs presentations #50
Comments
I don't know enough about leaflet to say. When I try the simple repro in the SO article I get a map but a bunch of 404s because it appears to be attempting to load tiles from the local filesystem. @bhaskarvk or @jcheng5 Any idea here? |
@jjallaire The issue you're seeing has been fixed in GH master, but CRAN ver. still has that problem. |
@kevinykuo Try the widgetframe package for separating widget deps from the document deps. |
Thanks @bhaskarvk! |
The example from the SO post is now working. ---
title: "Rmarkdown Presentation including Leaflet"
output:
revealjs::revealjs_presentation
---
Show "Leaflet for R" within Rmarkdown presentation: fails.
```{r}
library(leaflet)
leaflet() %>%
addTiles %>% # Add default OpenStreetMap map tiles
setView(lng = 5.0, lat = 51.0, zoom = 6)
``` If there are other issues with leaflet please open a new issue. |
http://stackoverflow.com/questions/35894401/how-to-include-leaflet-for-r-output-into-rmarkdown-presentation
Is this something we can fix on our end or is it a problem upstream with the javascript libraries?
I'm having to fall back to ioslides/slidify just because I'm unable to display a map...
Related: #11
The text was updated successfully, but these errors were encountered: