The history.replaceState function will update the browser's hash without adding a new entry to the history list.
Before:
Browse to the map page, zoom/scroll the map ten times. Click the back button ten times to leave the map.
After:
Browse to the map page, zoom/scroll the map ten times. Click the back button once to leave the map.
The history.replaceState function will update the browser's hash without adding a new entry to the history list. Before: Browse to the map page, zoom/scroll the map ten times. Click the back button ten times to leave the map. After: Browse to the map page, zoom/scroll the map ten times. Click the back button once to leave the map.