View source: R/tmap_CreateLayers_Locations.R
tmap_CreateLayers_Locations | R Documentation |
Function to create tmap-style layers from a list of dataframes with point locations.
tmap_CreateLayers_Locations( dfrs_points, markers = c("dots", "symbols"), shape = 1, size = 0.2, alpha = 0.6, basemap = NULL, colors.background = "grey85", colors.land = "grey45", colors.bathym = "grey65", aes.palette = list(cat = c("blue", "red"), div = c("blue", "red"), seq = c("blue", "red")), printMaps = FALSE )
dfrs_points |
- list of dataframes by typeName with point locations |
markers |
- marker type (e.g., "dots", "symmbols") |
shape |
- integer id for shape type |
size |
-marker size |
alpha |
-marker transparency |
basemap |
- tmap-style basemap on which to plot locations (if printMaps is TRUE) |
colors.background |
- basemap background color passed to |
colors.land |
-basemap land color passed to |
colors.bathym |
- basemap color for bathymetric contours, passed to |
aes.palette |
- basemap list for aes.palette passed to |
printMaps |
- flag to print maps (basemap + each layer) |
Requires package tmap. If basemap is NULL and printMaps is TRUE,
a basemap is created
using a call to tmap_CreateBasemap
with the supplied parameters, which will create a basemap
for the CGOA in lat/lon.
list of map layers corresponding to different life stage types
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.