Description Usage Arguments Value Examples
Gets the x and y coordinates of the full extent of a ggplot.
1 | GetExtent(map_object, return_table = F)
|
map_object |
A ggplot object |
return_table |
Boolean; Default=F. If T, returns a table where xbounds1 is the xmin, xbounds2 is the xmax, ybounds1 is the ymin, and ybounds2 is the ymax. |
Either a named list where the results has an $xbounds and $ybounds named list (with a min/max in each), or a table (see return_table parameter).
1 | GetExtent(map_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.