2+ , , ggmap. . Google , ; ggmap .
get_map Google, get_googlemap, archiving = TRUE. , Google Maps (ToS) (). , ToS (21 2015 .) , 30 . , .
library(ggmap)
foo1 <- get_map(location = c(-1.81, 55.655), zoom = 12, maptype = "hybrid")
foo2 <- get_googlemap(center = c(-1.81, 55.655), zoom = 12,
maptype = "hybrid", archiving = TRUE, force = FALSE)
identical(foo1, foo2)
. , :
bbox <- c(left=-1.88, bottom=55.625, right=-1.74, top=55.685)
foo3 <- get_map(location = bbox, zoom = 13, crop = FALSE,
source = "stamen", maptype = "terrain", force = FALSE)
dev.new()
print(ggmap(foo2))
dev.new()
print(ggmap(foo3))