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>
This commit is contained in:
Mattia Pezzotti
2025-03-18 21:09:37 +01:00
committed by GitHub
parent 6bae24fa94
commit d1e5c2910c
18 changed files with 698 additions and 170 deletions

View File

@@ -905,6 +905,11 @@ en:
username_filter:
title: "Username"
tooltip: "Show only photos by this user"
age_slider_filter:
title: "Date Range"
tooltip: "Shows only photos that are newer than the selected date"
label_all: "All photos visible."
label_date: "Showing photos newer than {date}."
feature:
points:
description: Points
@@ -2418,6 +2423,8 @@ en:
way_selected:
title: "With way selected"
child: "Select child nodes"
enable:
streetlevel: "Toggle active street level photo layers"
editing:
title: "Editing"
drawing:

View File

@@ -74,6 +74,11 @@
"shortcuts": ["area_fill.wireframe.key"],
"text": "shortcuts.browsing.display_options.osm_data"
},
{
"modifiers": ["⇧"],
"shortcuts": ["P"],
"text": "shortcuts.browsing.enable.streetlevel"
},
{
"shortcuts": ["background.minimap.key"],
"text": "shortcuts.browsing.display_options.minimap"