Thin wrapper around serve_html() that renders x with
mapview::mapview() first, so mapview arguments such as zcol or
map.types can be passed straight through.
serve_map(x, ..., host = NULL, name = NULL, quiet = FALSE)An sf object, or anything else mapview::mapview() accepts. A
mapview object is served as is.
Further arguments passed to mapview::mapview(), such as
zcol or map.types.
Hostname to advertise in the URL. If NULL, resolved the same
way as in serve_plots().
Optional label used in the file name, to tell several served
pages apart. Non-alphanumeric characters are replaced with -.
If TRUE, do not message the URL.
The page URL, invisibly, as a character scalar.
serve_html(), serve_html_stop()
Other data-viewers:
serve_html(),
serve_html_stop(),
serve_plots(),
serve_plots_url(),
tad_view(),
view_excel(),
view_in(),
view_qgis(),
view_vd(),
view_vd_nonint()