addBounceMarkers {leaflet.extras} | R Documentation |
Add Bounce Markers to map
addBounceMarkers(map, lat, lng, duration = 1000, height = 100)
map |
map object created by leaflet::leaflet |
lat |
numeric latitude |
lng |
numeric longitude |
duration |
integer scalar: The duration of the animation in milliseconds. |
height |
integer scalar: Height at which the marker is dropped. |
Markus Dumke
leaflet() %>%
addTiles() %>%
addBounceMarkers(49, 11)