Lars Maxfield
Lars Maxfield
Good idea. Will look into it. Having a pop-up to show the shortcuts would also be useful. Perhaps something like on Soundcloud: 
Implementation notes: The (hidden) menu bar already has shortcuts, so this could implemented as part of the menu bar revamp which I've been wanting to do...
The currently restricted zoom-out behavior is _not_ intended if I understand [the renderWorldCopies docs](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/MapOptions/#renderworldcopies) correctly: > When the map is zoomed out far enough that a single representation of the...
I was able to implement this by modifying a few lines of `getConstrained()` in `transform.ts`. Works nice on a 2D map:  _(Edit: See below comment for a temporary workaround...
> Restricted behaviour is intended, despite this quote. Making it non-restricted looked a bit problematic. Also I assumed that viewing the whole globe is an unlikely demand. Could you please...
Disabling the bounds error in the constructor for `CanonicalTileID` (`tile_id.ts`) allows 3D to work with under-zooming: 
@HarelM ah, do you mean by padding the original images with a wide border so that the generated tilesets have plenty of empty space around the actual scan?
I use `pyvips` `dzsave` which tiles the painting by scaling the original image by half until it fits within a single tile, which then becomes the lowest zoom 0/0/0.jpg tile....
The scans are of gigapixel magnitude — 100k × 100k px — so we rely on tiling.
Good points. I agree that this should become the new default behavior for single-globe maps. I'll give it a try and update here when I've got something working.