4 ms·
Just a heads up but the super resolution example absolutely spams the history API in your browser if you move the map slightly. You could add a bit of delay bef
by pcmill 3y ago
Just a heads up but the super resolution example absolutely spams the history API in your browser if you move the map slightly. You could add a bit of delay before trying to save the new location in the URL.
- rob74 3y agoOr, how about not saving the location in the URL at all when moving the map? I guess there must be a reason why none of the mainstream map webapps does something like this...
- tuukkah 3y agoOthers do this too, just using replaceState.
- jimktrains2 3y agoIt allows you to copy and paste the url to link someone to what you're seeing. It's a good thing if sone right. Also, google maps changes the url as you pan and zoom.
- mistrial9 3y agoit tracks everything you do while interacting with it -- FEATURE?
- tuukkah 3y agoThey need to learn when to use history.pushState vs history.replaceState
- favyen 3y agoThanks for pointing this out! We will look into fixing it.
- deleted 3y ago[deleted]