Description Usage Arguments Details Value Author(s) Examples
Create an object for a raster overlay on a map.
1 2 3 |
xyz |
A list with x, y, and z components. Lengths of x and y must equal the dimensions of the z matrix. Coordinates must be in WGS84 lat-long. |
name |
An identifier for the data. Must be a valid Javascript label. |
pfunc |
A function that maps values to colours. |
opacity |
The opacity level for the map (0 = transparent, 1 = opaque). |
... |
Extra arguments, unused at the moment... |
x |
An ilayer object |
This function just copies the data and wraps it up with a name and the colour map function.
An object of class 'ilayer'.
Barry Rowlingson
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.