clearHistory {leaflet.extras2}R Documentation

clearHistory

Description

Resets the stack of history items.

Usage

clearHistory(map)

Arguments

map

a map widget object created from leafletProxy

Value

the new map object

References

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

See Also

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


[Package leaflet.extras2 version 1.2.2 Index]