goBackHistory: goBackHistory

View source: R/history.R

goBackHistoryR Documentation

goBackHistory

Description

If possible, will go to previous map extent. Pushes current extent to the "future" stack.

Usage

goBackHistory(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(), clearHistory(), goForwardHistory(), historyOptions()


leaflet.extras2 documentation built on Aug. 21, 2023, 5:08 p.m.