powered by
Adds an icon to map -- an RgoogleMaps map object. The following icons are available:
map
orangeFlame -- yellow-orange flame
orangeFlame
redFlame -- orange-red flame
redFlame
You can use other .png files as icons by passing an absolute path as the icon argument.
icon
addIcon(icon, longitude, latitude, map = NULL, expansion = 0.1, pos = 0)
object to be plotted
vector of longitudes
vector of latitudes
optional RgoogleMaps map object
icon expansion factor
position of icon relative to location (0=center, 1=bottom, 2=left, 3=top,4=right)
# NOT RUN { library(PWFSLSmoke) monitor_map(Camp_Fire) addIcon( "orangeFlame", longitude = -121.437222, latitude = 39.810278, expansion = 0.003 ) # }
Run the code above in your browser using DataLab