powered by
Adds a marker to a plot or map -- an RgoogleMaps map object or Raster* object.
map
addMarker(longitude, latitude, color = "red", map = NULL, expansion = 1, ...)
vector of longitudes
vector of latitudes
marker color: 'red', 'green', 'yellow', 'orange', or 'blue'. Also includes AQI category colors, specified 'AQI[number]' eg. 'AQI1'
optional RgoogleMaps map object or Raster* object
icon expansion factor. Ignored if width and height are specified.
arguments passed on to rasterImage
rasterImage
# NOT RUN { library(PWFSLSmoke) monitor_map(Camp_Fire) addMarker( longitude = -121.437222, latitude = 39.810278, color = "red", expansion = 1 ) # }
Run the code above in your browser using DataLab