Leaflet-history

Plugin to LeafletJS that allows user to navigate back through previous extents

Download .zip Download .tar.gz View on GitHub

With Custom Graphics, text on buttons

Any graphics library can be used. Just use the full class name of the desired icon (including the library's namespace, such as "fa").

new L.HistoryControl({
  backImage: 'fa fa-chevron-left',
  forwardImage: 'fa fa-chevron-right',
  backText: 'Previous',
  forwardText: 'Next'
}).addTo(map2);