tmap_CropMapToBBox: Crop a 'tmap'-style map to a bounding box

View source: R/tmap_CropMapToBBox.R

tmap_CropMapToBBoxR Documentation

Crop a tmap-style map to a bounding box

Description

Function to crop a tmap-style map to a bounding box

Usage

tmap_CropMapToBBox(map, bbx)

Arguments

map
  • tmap-style map object

bbx
  • object convertible to a sf::bbox

Details

bbx replaces the bbox on the map object. Prior to replacement, bbx is projected to the same coordinate reference system as the map.

Value

tmap-style map object with bounding box set to projected bbox


wStockhausen/wtsGIS documentation built on Aug. 23, 2023, 2:31 a.m.