Description Usage Arguments Note Examples
Adds an icon to map
– an RgoogleMaps map object.
The following icons are available:
orangeFlame
– yellow-orange flame
redFlame
– orange-red flame
You can use other .png files as icons by passing an absolute path as the icon
argument.
1 |
icon |
object to be plotted |
longitude |
vector of longitudes |
latitude |
vector of latitudes |
map |
optional RgoogleMaps map object |
expansion |
icon expansion factor |
pos |
position of icon relative to location (0=center, 1=bottom, 2=left, 3=top,4=right) |
For RgoogleMaps, the expansion
will be ~ 0.1 while for basic plots it may need
to be much smaller, perhaps ~ 0.001.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
library(PWFSLSmoke)
monitor_map(Camp_Fire)
addIcon(
"orangeFlame",
longitude = -121.437222,
latitude = 39.810278,
expansion = 0.003
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.