util_map | R Documentation |
Create an empty leaflet map from sf input
util_map(tomap, minimap = "bottomleft")
tomap |
|
minimap |
character string indicating location of minimap, use |
A leaflet
object with optional minimap and ESRI provider tiles
tomap <- tibble::tibble(
lon = -82.6365,
lat = 27.75822
)
tomap <- sf::st_as_sf(tomap, coords = c('lon', 'lat'), crs = 4326)
util_map(tomap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.