11 Commits

Author SHA1 Message Date
Mattia Pezzotti
d1e5c2910c add date slider for street level photos, and more (#10394)
full list of enhancements:

* year slider to filter photos by freshness
* toggle active streetlevel layers with shortcut `shift+P`
* hfov, pitch and direction is now held between sequences and images as asked in #10392
* fix for #10361 (only panoramax)
* added tests and jsdoc
* add ticks for existing photos on slider
* general bug fixes
* rudimentary support for toDate in date slider (only when iD is started with a "to" date in the hash parameter: show a second slider to visualize and set the "to" date)

---------

Co-authored-by: Martin Raifer <martin@raifer.tech>
2025-03-18 21:09:37 +01:00
mattiapezzotti
b1f787c94d fixed typos and syntax errors 2024-07-06 13:38:29 +02:00
Martin Raifer
21d99715a7 fix zoom/pan glitch on plane photos
When changing to a different photo, it can be the case that the new photo has a different aspect ratio: the zoom behaviour needs to be updated.

Also, keeping the "orientation" does not make sense for plane photos, and even keeping the previously shown photo's zoom is also not typically desired for these.
2024-06-26 13:12:26 +02:00
Martin Raifer
97fcb18d2a switch to (vegbilder's) zoomable plane photo viewer 2023-08-09 11:54:13 +02:00
Martin Raifer
e52ec96bad reset yaw when switching between 360° and planar photo
(and also immediately when switching between different 360° photos)
2023-08-02 16:49:07 +02:00
Martin Raifer
31c5a60ac2 show spinner while loading non-360° "vegbilder" photos 2023-08-02 16:35:59 +02:00
Martin Raifer
23d19e89ff fix zoom/pan behavior on non-360° vegbilder photos 2023-08-02 16:35:58 +02:00
Noenandre
e33279bb4a Create a new zoom behaviour when the image size potentially change. 2023-03-09 16:38:02 +01:00
Noenandre
fcbdee0aed Attempt to fix plane photoviewer. 2023-03-06 13:29:44 +01:00
Noenandre
ab2985d985 Fix zoom for plane photos. TODO: set translateExtent correctly. 2023-03-03 12:36:29 +01:00
Noenandre
58cceb03c2 Split concern for panoramic and flat photos to own module. 2023-03-03 01:29:55 +01:00