tilt_map | R Documentation |
Tilt and shift maps in any direction.#'
tilt_map(
data,
x_stretch = 2,
y_stretch = 1.2,
x_tilt = 0,
y_tilt = 1,
x_shift = 0,
y_shift = 0,
angle_rotate = pi/20,
boundary = NULL,
parallel = FALSE
)
data |
sf or terra/stars/raster object. |
x_stretch |
Stretch in x dimension. A |
y_stretch |
Stretch in y dimension. A |
x_tilt |
Tilt in x dimension. A |
y_tilt |
Tilt in y dimension. A |
x_shift |
Shift in x dimension. A |
y_shift |
Shift in y dimension. A |
angle_rotate |
Rotation angle.. A |
boundary |
Another layer that is used to create a boundary that is drawn around the data |
parallel |
|
Code adopted from https://www.mzes.uni-mannheim.de/socialsciencedatalab/article/geospatial-data/.
An sf
object with tilted and shifted data.
tilt_map(landscape_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.