The sidebar is open by default on large devices, but now we can link to
a fullscreen map for a more immersive experience.
Requested-By: Eric Villnow <eric@vill.now>
This probably breaks existing links that assume a basemap, but…meh!
Otherwise there's no way to disable my location layer nor the basemap,
both of which are on by default.
Requested-By: Eric Villnow <eric@vill.now>
Sometime between December 4th…
https://web.archive.org/web/20241204202205/https://corsproxy.io/
…and December 5th…
https://web.archive.org/web/20241205230048/https://corsproxy.io/
corsproxy.io started charging for access and returning 403s. (Based on
the claim of 900TB/mo of traffic, that's probably not terribly
surprising!)
For now, we switch to another free one. At some point, I'll probably
set one up of my own to not have to deal with this again, but I'll need
to figure out how to deal with authentication first to prevent abuse.
By default, OpenLayers listens for and resizes on page resize, but not
on map div size change. (Pre-2021ish, this was maybe impossible to do?
But ResizeObserver makes this easy.) This means from the first time the
sidebar is collapsed until the first time a resize event was triggered
(e.g. on mobile rotating the device) the map wouldn't render render its
full size.