Description Usage Arguments Value Examples
Stacks ggplot objects over one another to generate 1 multi-layered map object.
1 2 3 |
maps |
A list of ggplot map objects all within the same coordinate reference system. Order of the list is significant- the first object will be on the bottom, second layered above it, etc. |
xbounds |
Default=NULL. Takes a 2-item list of xmin and xmax of the area you want to plot. Leaving this parameter as null will default to having the bounds ofthe map be the minimum and maximum x coordinates present in any of the map layers. |
ybounds |
Default=NULL. Takes a 2-item list of xmin and xmax of the area you want to plot. Leaving this parameter as null will default to having the bounds ofthe map be the minimum and maximum y coordinates present in any of the map layers. |
font_family |
The name of the font family you want to use for the title text on the plot. Default is 'serif'. |
map_title |
String; the title of your map. |
map_subtitle |
String; Default=NULL |
map_title_justification |
Numeric from 0-left to 1-right. Default is centeR-.5. |
map_title_font_size |
Numeric, default is 20. Note that subtitle size will be scaled to .8 of this parameter. |
map_title_font_face |
Default="plain". |
A ggplot object with maps stacked
1 | StackMaps(list_of_maps)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.