lpoints: Add objects to an interactive Leaflet map

Description Usage Arguments Details Value Author(s) See Also

Description

lpoints adds points (circles) to an interactive leaflet map.

Usage

1
lpoints(lat, lon, col = "black", bg = "transparent", cex = 1, lwd = 1, ..., map = .cache$last.map)

Arguments

lat

numeric vector of latitudes

lon

numeric vector of longitudes

col

color (border) of the points

bg

background (fill) of the points

cex

expansion of the points

lwd

line width of the border

...

further arguments for future use

map

object of the class RCloudLeaflet representing the map to add to (as returned by lmap

Details

lpoints adds points to the map. Although the syntax is mimicking the well-known points method, is always behaves as if 'pch=21' was specified. All arguments can be vectors and will be re-cycled accordingly.

Value

Returns the map obejct.

Author(s)

Simon Urbanek

See Also

lmap


s-u/rcleaflet documentation built on May 28, 2019, 10:48 a.m.