View source: R/plot-overview-map.R
plot_overview_map | R Documentation |
Create a map of the west coast of North America showing places of interest
plot_overview_map(
crs_ll = 4326,
x_lim = c(-137, -110),
y_lim = c(29, 58),
label_size = 4,
label_color_default = "white",
label_fill_default = "white",
label_border_size = NA,
arrowhead_size = 0.01,
point_size = 2,
point_color = "red",
...
)
crs_ll |
Coordinate Reference System (CRS) number. Default is
4326 which is WGS84: See Epsg.org for
details. Click |
x_lim |
The length-2 vector representing the minimum and maximum limits of the x-axis in degrees of longitude |
y_lim |
The length-2 vector representing the minimum and maximum limits of the y-axis in degrees of latitude |
label_color_default |
The default color for label text and arrows if
the |
label_fill_default |
The default color for fill for label boxes
if the |
label_border_size |
The thickness of the label box borders. |
arrowhead_size |
The size of the arrowheads on the label arrows, in 'npc' |
point_size |
The size of the location points |
point_color |
The color of the location points |
... |
The plot is customized in the data-tables/map-data/port-locations.csv
and
data-tables/map-data/state-locations.csv
files, which both must have
identical column names and number of columns (they are row-bound
together in this function)
A ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.