Description Usage Arguments Value Examples
This function builds the qmap object that forms the basis for the rest of
the quickmapr
package.
1 2 3 |
... |
Spatial objects to map. Maybe passed as objects, a list of
spatial objects, or a |
extent |
A |
order |
draw order of the spatial object. Defaults to order in mapdata |
colors |
line colors. Defaults to 1:length(mapdata) |
fill |
Logical to determine if polygons should be filled (using colors) or just the border colored. |
prj |
Logical to check projections of input spatial objects.
Transformation, if needed, should be done prior to mapping with
|
basemap |
a basemap generated from |
resolution |
Specifies the width in pixels of the retrieved basemap. Larger values result in higher resolution images but since the images are downloaded for each zoom level can result in delays. Default is 300, while ~600 is a decent compromise for performance and image quality. |
Function displays a map from the input mapdata
parameter and
returns a recorded plot.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.