lmap_init | R Documentation |
Load basin boundaries with default configuration.
lmap_init( iso3 = names(ISO3), mapbox_key = getOption("wa.mapbox"), maptiler_key = getOption("wa.maptiler") )
iso3 |
3-letter country code to center the map on (see ISO3) |
mapbox_key |
Mapbox API key (default to |
maptiler_key |
Maptiler API key (default to |
Mapbox GL map widget with default layers
# Default rendering map_init()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.