addBounceMarkers {leaflet.extras}R Documentation

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(s)

Markus Dumke

See Also

GitHub: leaflet.bouncemarker

Examples

leaflet() %>%
  addTiles() %>%
  addBounceMarkers(49, 11)

[Package leaflet.extras version 1.0.0 Index]