Description Usage Arguments Details Value
This function creates a ggplot2 map object of UK distribution or range, mapped on white background with grey35 (#595959) coastline. UK countries differentiated from non_UK countries using grey90 fill (#E5E5E5)
1 | stx_create_map(layer, polygon_fill_colour, base_uk, base_nuk)
|
layer |
simple features dataframe, contains spatial feature polygons |
polygon_fill_colour |
character, hexadecimal code of polygon fill colour |
base_uk |
simple feature dataframe, UK polygon coastline |
base_nuk |
simple feature dataframe, non UK polygon coastline |
Distibution square polygons have a yellow (#E7E501) fill and range polygons a light blue (#72DFFE) fill, both with a black outline (#000000)
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.