Creates a scatterplot widget and layers the map in front.

# S3 method for map
l_plot(x, ...)

Arguments

x

object of class map (defined in the maps library)

...

arguments forwarded to l_layer.map

Value

Scatterplot widget plot handle

See also

Examples

if (requireNamespace("maps", quietly = TRUE)) { p <- l_plot(maps::map('world', fill=TRUE, plot=FALSE)) }