leaflet.extras (version 1.0.0)

addBounceMarkers: Add Bounce Markers to map

Description

Add Bounce Markers to map

Usage

addBounceMarkers(map, lat, lng, duration = 1000, height = 100)

Arguments

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.

See Also

GitHub: leaflet.bouncemarker

Examples

Run this code
# NOT RUN {
leaflet() %>%
  addTiles() %>%
  addBounceMarkers(49, 11)
# }

Run the code above in your browser using DataCamp Workspace