addBounceMarkers: Add Bounce Markers to map

Description Usage Arguments Author(s) See Also Examples

View source: R/bounceMarker.R

Description

Add Bounce Markers to map

Usage

1
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

1
2
3
leaflet() %>%
  addTiles() %>%
  addBounceMarkers(49, 11)

Example output

Loading required package: leaflet

leaflet.extras documentation built on May 2, 2019, 2:11 a.m.