Add Bounce Markers to map
addBounceMarkers(map, lat, lng, duration = 1000, height = 100)
map object created by leaflet::leaflet
numeric latitude
numeric longitude
integer scalar: The duration of the animation in milliseconds.
integer scalar: Height at which the marker is dropped.
GitHub: leaflet.bouncemarker
# NOT RUN { leaflet() %>% addTiles() %>% addBounceMarkers(49, 11) # }
Run the code above in your browser using DataCamp Workspace