Description Usage Arguments Value Examples
Generate interactive flood risk map
1 2 3 4 5 6 7 8 9 | generateFloodRiskMap(
long,
lat,
region_col_name,
risk_col_name,
shapefile,
shapefile_divided,
shapefile_bounds
)
|
long |
Longitude |
lat |
Latitude |
region_col_name |
Name of column containing region name from shapefileBounds |
risk_col_name |
Name of column containing risk value from shapefile |
shapefile |
Flood shapefile |
shapefile_divided |
Flood shapefile divided via |
shapefile_bounds |
Shapefile containing teritorial division (i.e. administrative) |
A leaflet map widget
1 2 3 4 5 | ## Not run:
generateFloodRiskMap(long = -0.08189974, lat = 51.31244, region_col_name = "NAME", risk_col_name = "PROJ_4BAND",
shapefile = shapefile, shapefile_divided = shapefile_divided, shapefile_bounds = shapefile_bounds)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.