save_map: Save interactive maps to html file

View source: R/save_map.R

save_mapR Documentation

Save interactive maps to html file

Description

Save interactive maps to html file

Usage

save_map(x, file = "./map.html")

Arguments

x

A leaflet class object e.g. as created with make_map.

file

The file path where the output html file should be saved.

Value

The original object passed to the function unmodified.

Examples

## Not run: 
  collar_data %>%
  collar::make_map() %>%
  collar::save_map()

## End(Not run)

Huh/CollaR documentation built on Jan. 16, 2025, 10:21 a.m.