A short description of the post.
There is a persistent problem with the get_map() function now that the google api is required. Even if you ask for source=”stamen” you still get an error asking for the google api. A fix is to do the following:
library(gstudio)
data(arapat)
coords <- strata_coordinates(arapat)
b1 <- c( left = -114.2935,
bottom = 23.0757,
right = -109.1263,
top= 29.32541)
map <- get_stamenmap( bbox = b1, zoom=7 )
ggmap(map)
For attribution, please cite this work as
Dyer (2019, March 25). The Dyer Laboratory: get map Problems w o Google API. Retrieved from https://dyerlab.github.io/DLabWebsite/posts/2019-03-25-get-map-problems-w-o-google-api/
BibTeX citation
@misc{dyer2019get, author = {Dyer, Rodney}, title = {The Dyer Laboratory: get map Problems w o Google API}, url = {https://dyerlab.github.io/DLabWebsite/posts/2019-03-25-get-map-problems-w-o-google-api/}, year = {2019} }