ms_rotate_map | R Documentation |
Display original and modified maps to determine necessary rotation
ms_rotate_map(map_original, map_modified, rotation = 0, apply_rotation = FALSE)
map_original |
File name of the original map without anything drawn over
it (either a |
map_modified |
File name of the modified version with drawings (either a
|
rotation |
Rotation value to be applied, generally +/- 90 |
apply_rotation |
If |
No return value. Function either modifies files on disk by rotating
images by the specified amount (if apply_rotation = TRUE
), or displays a
rotated version of map_original
(if apply_rotation = FALSE
).
If a call to ms_rectify_map detects potential image rotation,
that function will stop and suggest that rotation be applied using this
function in order to determine the required degree of image rotation. Values
for rotation
can be trialled in order to determine the correct value,
following which that value can be entered with apply_rotation = TRUE
in
order to actually apply that rotation to the modified image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.