Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use history.replaceState if available #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simon04
Copy link

@simon04 simon04 commented Oct 6, 2020

Avoids polluting the browser history while panning the map.

2020-10-06-230706

Avoids polluting the browser history while panning the map.
@petrsloup petrsloup removed their assignment Mar 23, 2021
@trygve-aaberge-adsk
Copy link

Any chance to get this merged? It's very annoying to end up with tons of entries in the history when you pan the map, and it makes the back button basically impossible to use.

@EmileSonneveld
Copy link

The direct assignment also causes this error in Firefox: Too many calls to Location or History APIs within a short timeframe.
Or on Chrome: Throttling navigation to prevent the browser from hanging. See https://crbug.com/1038223. Command line switch --disable-ipc-flooding-protection can be used to bypass the protection

Explicit throttling with would also work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants