add_wards_new | R Documentation |
Adds outlines of Takoma Park's ward boundaries from 2022 on to a leaflet map
add_wards_new( basemap, .inclabs = T, .weight = 1.5, .color = "black", .opacity = 1 )
basemap |
Basemap to add boundaries to |
.inclabs |
Whether to include Ward labels in center of Ward; default T |
.weight |
Weight of Ward boundary lines; deafult 1.5 |
.color |
Color of Ward boundary lines; default "black" |
.opacity |
Opacity of Ward boundary lines; default 1 |
{ add_wards_new(leaflet::leaflet()) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.