Description Usage Arguments Value
Function to calculate the ideal extents of a shapefile
1 | get_plot_extents(shp, expand.ratio = 0.1)
|
shp |
a shapefile of class sp |
expand.ratio |
This is the how much the x and y limits will expand by. It defaults to 0.1 (or 10 percent) |
list of two vectors - x and y containing a min and max value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.