Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


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.

Author

Markus Dumke

See Also

Examples

Run this code
leaflet() %>%
  addTiles() %>%
  addBounceMarkers(49, 11)

Run the code above in your browser using DataLab