R/plot_leaflet.R
plot_leaflet.Rd
plot leaflet
plot_leaflet(g, lat, lon, col = "site", label = "none", tile = "Default")
igraph object
vertex attribute that gives latitude
vertex attribute that gives longitude
vertex attribute to give marker colour
vertex attribute to give marker label
background tile
leaflet plot
plot_leaflet(example_network, "lat", "long", col = "site")