Open dannymandel opened 1 month ago
I should add that this is on the deployed site at https://tags.shinyapps.io/tags_shiny/
It looks like maybe the leaflet provider got renamed?
diff --git a/TAGS_shiny/app.R b/TAGS_shiny/app.R
index 617e065..93ac78e 100644
--- a/TAGS_shiny/app.R
+++ b/TAGS_shiny/app.R
@@ -716,7 +716,7 @@ server <- function(input, output, session) {
#run the leaflet function
leaflet() %>%
#add map tiles
- addProviderTiles(provider = "Stamen.TonerLite",
+ addProviderTiles(provider = "Stadia.StamenTonerLite",
options = providerTileOptions(noWrap = TRUE)
) %>%
#add the calculated coordinates based on edited twilights
Oh dang. Thanks for catching that. I am swamped right now - I can put this in my queue but it may be a bit, or if you want to put in a pull request I can approve it. Maybe next time I have more time (usually end of fall semester before winter break) I can put in a "choose map provider" option.
I'm trying to generate a map with light data from a .csv file. I can see that the map has the points on it, but the tiles are missing. When I look in the Safari console I see a bunch of 500 errors that look like this:
And the map looks like this: