crop_map: Crops a map to a new bounding box

Description Usage Arguments

Description

This function reduces the dimensions of a map to fit a given bounding box as closely as possible. The bounding box is readjusted to fit pixel boundaries.

Usage

1
crop_map(map, new_bb)

Arguments

map

An object of class ggmap

new_bb

A data frame with one row and four columns {ll|ur}.{lat|lon}


krlmlr/ggmapStitch documentation built on May 6, 2019, 6:06 p.m.