Takes an object produced by `highest_concentration()`, and creates an interactive map.
# S3 method for concentration
plot(
x,
grid_points = TRUE,
legend_title = NULL,
palette = "viridis",
legend_position = "bottomleft",
providers = c("CartoDB.Positron", "nlmaps.luchtfoto"),
...
)
Interactive view of geohashes with highest concentrations
object of class `concentration` obtained from `highest_concentration()`
show grid points (TRUE), or objects (FALSE)
title of legend
palette for grid points (defaults to "viridis")
legend position for grid points legend (defaults to "bottomleft")
providers to show. See `leaflet::providers` for a list.
additional arguments affecting the interactive map produced
Martin Haringa