add.map.layer | R Documentation |
Add a image layer to the map!
add.map.layer(
map,
lon,
lat,
z,
zlim = NULL,
pal = "greyscale",
col.na = NA,
n = 255,
refine = 0,
trim = T,
col.low = "",
col.high = "",
rev = F,
indicate = T,
verbose = T
)
lon |
longitude of the data |
lat |
latitude of the data |
z |
the data |
zlim |
the limits of the z-axis. A value of NULL indicates that zlim should equal the range of z values. |
pal |
the name of a palette generating function. Should be a string. |
col.na |
the color with which any NAs should be drawn with. A value of NA skips this step. |
n |
the number of distinct colors to request from the palette function. |
refinement |
the level of bilinear refinement to apply to the image grid |
Thomas Bryce Kelly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.