addBounceMarkers {leaflet.extras} | R Documentation |
Add Bounce Markers to map
Description
Add Bounce Markers to map
Usage
addBounceMarkers(
map,
lng = NULL,
lat = NULL,
layerId = NULL,
group = NULL,
icon = NULL,
duration = 1000,
height = 100,
popup = NULL,
popupOptions = NULL,
label = NULL,
labelOptions = NULL,
options = leaflet::markerOptions(),
data = leaflet::getMapData(map)
)
Arguments
map |
a map widget object created from |
lng |
a numeric vector of longitudes, or a one-sided formula of the form
|
lat |
a vector of latitudes or a formula (similar to the |
layerId |
the layer id |
group |
the name of the group the newly created layers should belong to
(for |
icon |
the icon(s) for markers; an icon is represented by an R list of
the form |
duration |
integer scalar: The duration of the animation in milliseconds. |
height |
integer scalar: Height at which the marker is dropped. |
popup |
a character vector of the HTML content for the popups (you are
recommended to escape the text using |
popupOptions |
A Vector of |
label |
a character vector of the HTML content for the labels |
labelOptions |
A Vector of |
options |
a list of extra options for tile layers, popups, paths (circles, rectangles, polygons, ...), or other map elements |
data |
the data object from which the argument values are derived; by
default, it is the |
Author(s)
Markus Dumke
See Also
Examples
leaflet() %>%
addTiles() %>%
addBounceMarkers(49, 11)