mapWatershed | R Documentation |
This is a raw method of plotting a watershed. This function is internal as too many details need to be specified to get this function to work.
mapWatershed( watershedPolygon, USGSstationLatitude, USGSstationLongitude, NOAAstationsLatitude = NULL, NOAAstationsLongitude = NULL, USGSStationName = "", NOAAStationsNames = "", watershedMap = NULL, zoomFactor = 10, printMap = FALSE )
watershedPolygon |
a spatialPoints class defining the polygon of the watershed |
USGSstationLatitude |
the latitude coordinate of the USGS station |
USGSstationLongitude |
the longitude coordinate of the USGS station |
NOAAstationsLatitude |
the latitude coordinates of the NOAA stations on the watershed |
NOAAstationsLongitude |
the longitude coordinates of the NOAA stations on the watershed |
USGSStationName |
the name of the USGS station |
watershedMap |
the map of the watershed |
zoomFactor |
the factor which to zoom in on a map |
printMap |
set printMap to TRUE to output a map. This may not work in R markdown. |
NOAAStationsName |
the name of the NOAA station |
a leaflet map of the watershed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.