map_leaflet | R Documentation |
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. |
A leaflet object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.