Skip to contents

Resets the stack of history items.

Usage

clearHistory(map)

Arguments

map

a map widget object created from leafletProxy

Value

the new map object

See also

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