This function saves a ggplot object to a file using the specified filename.
It checks for the orientation setting and warns if the scale factor has changed after the plot was created.
Usage
save_map(plot, filename, device = "pdf")
Value
The function saves the plot to a file and does not return anything.
Arguments
plot
A ggplot object representing the map to be saved.
filename
A character string specifying the path and name of the file to save the plot to.