lpoints {rcleaflet} | R Documentation |
lpoints
adds points (circles) to an interactive leaflet map.
lpoints(lat, lon, col = "black", bg = "transparent", cex = 1, lwd = 1, ..., map = .cache$last.map)
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 |
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.
Returns the map
obejct.
Simon Urbanek