create_box | R Documentation |
Create rectangular boundary centred on a set location
create_box(location, y_dist = 2500, x_dist = y_dist * 2/3)
location |
A vector consisting of easting and northing,
e.g. |
y_dist |
Distance (in metres) north and south of the location
to be displayed. Map shows |
x_dist |
Distance (in metres) east and west of the location
to be displayed. Map shows |
An st polygon with four points.
create_box(location = c(349950, 673605), x_dist = 3000, y_dist = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.