Martin Raifer
2dc64f0fef
cache panoramax sequence data (prev/next links)
...
to allow more snappy scrolling through the photos of a sequence using the prev/next buttons
the cache is primed with information for "most of" the selected sequence, see also https://gitlab.com/panoramax/server/api/-/issues/268
2025-05-21 16:56:57 +02:00
Martin Raifer
3c9d232d41
make sure pannellum viewer is ready to load new photo, fixes #11054
...
while loading a "scene", pannellum cannot load a new panorama scene. This means we have to wait while the viewer is busy loading an existing panorama until we can load a new one.
2025-05-21 16:38:31 +02:00
Martin Raifer
5fb540b551
cache userid to username data for panoramax service
2025-05-21 14:18:14 +02:00
Martin Raifer
81d94a138b
fix mapillary's panorama viewer from loading properly
...
this was a regression from the previous commit (19957d0e3 )
also, harmonize code slightly between different services
2025-04-29 11:50:37 +02:00
Martin Raifer
19957d0e39
keep photo viewer state on reset, properly clean up active marker
...
when switching between photos from different providers
fixes #10987
2025-04-29 09:38:18 +02:00
Martin Raifer
fa91fe7c0d
fix zoom resetting wrongly when switching background mid-transition
...
see https://github.com/openstreetmap/iD/issues/10700#issuecomment-2832010049
2025-04-26 21:10:16 +02:00
Martin Raifer
f5eb4d2a51
don't de-select map feature when clicking on a street level photo
2025-04-15 18:14:59 +02:00
MOHAMED ALI FAWZI
9590c88646
Panoramax: Adopt "copy id" feature from mapillary ( #10856 )
2025-03-19 20:13:46 +01:00
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
Martin Raifer
b0e47ca93c
make sure viewer is visible before selecting photo
...
otherwise the newly selected photo is not displayed correctly when switching between regular and 360 photos
see #10362
2024-08-08 14:55:46 +02:00
Martin Raifer
a8e438c58d
sort markers by date (newest on top)
2024-08-07 10:00:59 +02:00
Martin Raifer
136308821a
make sure the active image is rendered above other photo markers
2024-08-07 09:54:54 +02:00
Martin Raifer
7e111944db
try to equally space to be rendered markers in mid zoom levels
...
closes #10378
2024-08-07 09:30:46 +02:00
Mattia Pezzotti
ebb68d610e
Fix panoramax non existing inaccurate sequence ( #10375 )
...
fixes #10365
2024-08-03 21:08:57 +02:00
Mattia Pezzotti
dd7de08a35
Fix panoramax highlight selected sequence ( #10374 )
...
closes #10366
2024-08-03 21:03:58 +02:00
Mattia Pezzotti
e9095eb1bf
Fix panoramax errors when image not in cache ( #10376 )
2024-08-03 20:45:38 +02:00
Martin Raifer
b4eaeb3088
lint: remove unused code, code style and early update cached username
2024-07-29 16:29:39 +02:00
Martin Raifer
f25e94c71b
update username filter on input change; fix multiple names/ids
...
in panoramax a username can resolve to multiple ids (when the same name is used on multiple servers).
further, the username filter input field can contain more than one username
2024-07-29 16:15:34 +02:00
Martin Raifer
df3b5a4440
make "captured by …" translatable; single line if possible
2024-07-29 15:36:59 +02:00
Martin Raifer
b492627689
switch link to panoramax.xyz viewer
2024-07-29 15:36:26 +02:00
Mattia Pezzotti
fe772db1ce
Update panoramax.js
...
Fixing a bug with heading
2024-07-13 13:04:48 +02:00
mattiapezzotti
a9d8da10d1
prepared for pr
2024-07-12 00:01:05 +02:00
mattiapezzotti
ace965c2bb
new endpoint!
2024-07-10 10:55:38 +02:00
mattiapezzotti
91281df1df
the slider works now.
2024-07-10 10:35:32 +02:00
mattiapezzotti
b1f787c94d
fixed typos and syntax errors
2024-07-06 13:38:29 +02:00
mattiapezzotti
bdcebcab33
date slider filter (kinda finished just buggy label)
2024-06-28 17:54:37 +02:00
Mattia Pezzotti
6c74588ed8
added username filter
2024-06-23 16:18:18 +02:00
mattiapezzotti
44baa63ed5
username filter wip
2024-06-23 14:05:06 +02:00
mattiapezzotti
8b68f07799
added a way to show only sequences on low level zoom
2024-06-22 10:11:44 +02:00
Mattia Pezzotti
e7daa508e8
refactored how panoramax shows frames
2024-06-18 13:09:28 +02:00
mattiapezzotti
6467e9efe3
added draw sequences lines on lower zoom levels
2024-06-13 17:02:57 +02:00
mattiapezzotti
15b1f6111e
added date and photo type filter
2024-06-13 00:55:21 +02:00
mattiapezzotti
3ac7151896
added viewfield heading
2024-06-11 00:24:19 +02:00
mattiapezzotti
2cdf24e804
360 photos now keep heading between sequences, added hd checkbox
2024-06-08 17:50:24 +02:00
Mattia Pezzotti
9e800af60a
hd work wip
2024-06-05 23:44:56 +02:00
mattiapezzotti
25888c52ab
added report button
2024-06-05 20:43:42 +02:00
mattiapezzotti
53ed8f3e52
added 360 photos
2024-06-04 14:14:01 +02:00
mattiapezzotti
3a3b9bc4ff
move beetween pictures in sequence
2024-06-04 03:14:17 +02:00
mattiapezzotti
70c5624d80
changed API images endpoint to be able to move in sequence (wip)
2024-06-03 22:46:36 +02:00
mattiapezzotti
9ac1dca235
wip, nothing to see here
2024-06-03 17:20:58 +02:00
mattiapezzotti
0732c01f8b
added modular image definition to backend
2024-06-03 16:02:34 +02:00
mattiapezzotti
70a732953c
added all images (and sequences) to map as flat pictures
2024-05-31 12:09:54 +02:00
mattiapezzotti
ff2f508575
trying stuff with API (again) (some issues uh)
2024-05-30 14:59:00 +02:00
mattiapezzotti
0ac62ba2b6
playing with the panormax API
2024-05-29 10:55:15 +02:00
mattiapezzotti
ab3158e48a
added mock Panoramax (mapilio clone) to photo layer list
2024-05-27 17:50:35 +02:00