Description Usage Arguments Details Value Examples
Truncate coordinate to Mercator extent.
1 | merc_truncate(xy)
|
xy |
a matrix of Mercator XY points. |
If a point in m lies outside the Mercator extent, this function can be used to truncate it to the boundary of the extent.
a matrix of XY points.
1 2 3 4 5 | stray <- matrix(c(20037509,
-2918162.223463),
nrow = 1)
merc_truncate(stray)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.