stx_create_map: Create map

Description Usage Arguments Details Value

View source: R/mapping.R

Description

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)

Usage

1
stx_create_map(layer, polygon_fill_colour, base_uk, base_nuk)

Arguments

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

Details

Distibution square polygons have a yellow (#E7E501) fill and range polygons a light blue (#72DFFE) fill, both with a black outline (#000000)

Value

ggplot2 object


jncc/article17 documentation built on Oct. 11, 2019, 6:15 a.m.