News for hackers. Stuff that matters.
Re:Satlas: Open Geospatial Data Generated by AI by pcmill on Wednesday September 06, 2023 @07:18AM (#37403561)
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.
Re:Satlas: Open Geospatial Data Generated by AI by rob74 on Wednesday September 06, 2023 @07:34AM (#37403645)
Or, 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...
Re:Satlas: Open Geospatial Data Generated by AI by tuukkah on Wednesday September 06, 2023 @07:54AM (#37403783)
Others do this too, just using replaceState.
Re:Satlas: Open Geospatial Data Generated by AI by jimktrains2 on Wednesday September 06, 2023 @08:00AM (#37403830)
It 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.

Re:Satlas: Open Geospatial Data Generated by AI by mistrial9 on Wednesday September 06, 2023 @01:35PM (#37408298)
it tracks everything you do while interacting with it -- FEATURE?
Re:Satlas: Open Geospatial Data Generated by AI by tuukkah on Wednesday September 06, 2023 @07:53AM (#37403774)
They need to learn when to use history.pushState vs history.replaceState
Re:Satlas: Open Geospatial Data Generated by AI by favyen on Wednesday September 06, 2023 @01:21PM (#37408103)
Thanks for pointing this out! We will look into fixing it.