Learn R Programming

leaflet.extras2 (version 1.3.1)

clearHistory: clearHistory

Description

Resets the stack of history items.

Usage

clearHistory(map)

Value

the new map object

Arguments

map

a map widget object created from leafletProxy

References

https://github.com/cscott530/leaflet-history

See Also

Other History Functions: addHistory(), clearFuture(), goBackHistory(), goForwardHistory(), historyOptions()