lpoints {rcleaflet}R Documentation

Add objects to an interactive Leaflet map

Description

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

Usage

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


[Package rcleaflet version 1.0-2 Index]