ggmap
ggmap copied to clipboard
Stamen maps still misaligned at low zooms
I know this has cropped up in the past, but I'm still seeing some warping of the projection below zoom 10, depending on latitude it seems.
library(tigris)
library(ggmap)
library(sf)
library(tidyverse)
counties <- counties(state = "WA", cb = TRUE)
basemap <- get_stamenmap(as.numeric(st_bbox(st_buffer(counties, .05))), z = 7, crop = TRUE, maptype = "toner-lite")
ggmap(basemap) +
geom_sf(data = counties,
fill = NA,
color = "red",
size = .25,
inherit.aes = FALSE)