Skip to content

Stamen maps now require API key #122

Open
@iskandari

Description

@iskandari

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions