Open sinkovit opened 12 months ago
@monaw Hi Mona, I was able to fix the Stamen maps problem. In R studio, do the following
library(devtools)
install_github("stadiamaps/ggmap")
library(ggmap)
register_stadiamaps(key="SEE SLACK", write=TRUE)
And in compute.R, replace get_stamenmap() with get_stadiamap(). I made this change already to the dev branch. Btw, the new stadiamap server appears to be much faster!
Notes:
GGMAP_STADIAMAPS_API_KEY=SEE SLACK
Do not close this issue until after stadiamap changes have been pushed into the ggmap CRAN package!
That way we'll remember to update the CRAN package properly, with any other changes the ggmap folks implement.
we need to resolve the stadiamap license issue before this feature can be released on the hub...
Stamen map functionality used in displaying MCP recently broke. See ...
https://stackoverflow.com/questions/77235892/ggmap-and-get-stamenmap-return-an-error-when-plotting-a-region
https://github.com/dkahle/ggmap/issues/353
Monitor issue and modify code as described in second URL if necessary. Since this is not super time critical, may wait until the developers have a clean solution.