Takes an object produced by `neighborhood_gh_search()`, and creates an interactive map.
# S3 method for neighborhood
plot(
x,
buffer = 0,
legend_title = NULL,
palette = "viridis",
legend_position = "bottomleft",
palette_circle = "YlOrRd",
legend_position_circle = "bottomright",
legend_title_circle = "Highest concentration",
providers = c("CartoDB.Positron", "nlmaps.luchtfoto"),
...
)
Interactive view of highest concentration on map
object neighborhood object produced by `neighborhood_gh_search()`
numeric value, show objects within buffer (in meters) from circle (defaults to 0)
title of legend
palette for points (defaults to "viridis")
legend position for points legend (defaults to "bottomleft")
palette for circles (default to "YlOrRd")
legend position for circles legend (defaults to "bottomright")
title of legend for circles
providers to show. See `leaflet::providers` for a list.
additional arguments affecting the interactive map produced
Martin Haringa