Skip to content
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

Stamen maps now require API key #122

Open
iskandari opened this issue Nov 5, 2023 · 0 comments
Open

Stamen maps now require API key #122

iskandari opened this issue Nov 5, 2023 · 0 comments

Comments

@iskandari
Copy link

FYI https://stamen.com/here-comes-the-future-of-stamen-maps/

This example now throws an error:

cities <- data.frame(
  x = c(-63.58595, 116.41214), 
  y = c(44.64862, 40.19063), 
  city = c("Halifax", "Beijing")
)

ggplot(cities, aes(x, y)) +
  annotation_map_tile(type = "stamenwatercolor") +
  geom_spatial_point() +
  geom_spatial_label_repel(aes(label = city), box.padding = 1) +
  coord_sf(crs = 3995)

Error in `annotation_map_tile()`:
! Problem while converting geom to grob.Error occurred in the 1st layer.
Caused by error in `check.dimensions()`:
! Zero tiles were loaded for type stamenwatercolor
Run `rlang::last_trace()` to see where the error occurred.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant