Description Usage Arguments Examples
View source: R/mapping_functions.R
Function that control the size of the colour markers
1 | my.radius.func(x2plot, radius_function)
|
x2plot |
|
radius_function |
1 2 3 4 5 | map <- addCircleMarkers(map, data = OK_stations, lng = ~ longitude, lat = ~ latitude,
radius = ~my.radius.func(OK_stations$flood_warning, radius_function),
color = ~my.color.func(OK_stations$flood_warning, my.colors),
stroke = FALSE, fillOpacity = 1,
group = "Warning ratio available")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.