mapComp | R Documentation |
Compare map tiles
mapComp(
lat,
long,
data,
types = NA,
progress = TRUE,
file = "mapComp.pdf",
overwrite = FALSE,
pargs = NULL,
quiet = FALSE,
...
)
lat, long, data |
Coordinates as in |
types |
Character string vector, types for
|
progress |
Display progress bar? DEFAULT: TRUE |
file |
PDF filename. Will not be overwritten. DEFAULT: "mapComp.pdf" |
overwrite |
Overwrite pdf file? DEFAULT: FALSE |
pargs |
List of arguments passed to |
quiet |
Logical: suppress non-df warning in |
... |
Further arguments passed to |
List of maps, writes to a pdf
Berry Boessenkool, berry-b@gmx.de, Jul 2017
pointsMap
## Not run: # Exclude from CRAN checks because of download time
maps <- mapComp(c(52.39,52.46), c(12.99,13.06),
pargs=list(width=8.27, height=11.96), overwrite=TRUE)
# still need to suppress output to console:
https://stackoverflow.com/questions/45041762/suppress-rjava-error-output-in-console
unlink("mapComp.pdf")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.