Create a leaflet map.
map_leaflet(data, color = "#ff3399", provider_tiles = "Esri.WorldGrayCanvas", popup = function(x) { x["id"] }, antarctic = FALSE)
data | the occurrences from |
---|---|
color | color to be used for the dots. |
provider_tiles | the base map provider. |
popup | function generating the popup content. |
antarctic | use antarctic polar stereographic projection. |