636 Commits

Author SHA1 Message Date
Martin Raifer
e07dcddfee only render addr point markers when there are addr tags
closes #11092

and also skip rendering of "placement ellipse" for address points
2025-06-05 14:36:07 +02:00
Keiffer
9b46ed167d hide Mapilio photo markers on low zoom (#11014) 2025-05-19 11:40:45 +02:00
Martin Raifer
9b7a98862d Merge remote-tracking branch 'origin/housenumber-labels' into develop 2025-05-12 18:02:47 +02:00
McLaynV
61670beb1d remove empty line from drag_note.js (#11015) 2025-05-06 09:19:00 +02:00
Martin Raifer
d4e56259fb render points over vertices, fixes #11006 2025-04-29 14:13:25 +02:00
Martin Raifer
0e6ca91727 fix initial loading of pannellum viewer for vegbilder photos 2025-04-29 12:54:59 +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
009daf7ef6 fix crash on low zoom address rendering 2025-04-26 19:44:49 +02:00
Martin Raifer
2fccd798dc fix size of touch targets for address shields 2025-04-23 12:29:35 +02:00
Martin Raifer
1a5bc72327 be a bit more lenient when determining if a node is an address node
consider some additional tags as "not interesting"/non-POI-like:
* check_date/fixme/note/note:*/survey:* — mapping related tags
* layer/level/level:ref — can be considered attributes of the address
* ref:* – often used to indicate a source ID on imported data
2025-04-23 12:02:05 +02:00
Martin Raifer
112c9264b2 fix crash when collision boxes are drawn in debug mode 2025-04-23 11:56:56 +02:00
Martin Raifer
5afe43c700 show ellipsis for long housenumbers/housenames 2025-04-21 15:29:56 +02:00
Martin Raifer
aa96a67c65 use lodash-es everywhere, replace custom clamp methods with lodash 2025-04-21 14:43:35 +02:00
Martin Raifer
4254e67ca7 render addresses (housenumber/housename)
* points with a dedicated marker
* text inside of areas
2025-04-17 17:47:08 +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
Martin Raifer
654c13ce08 keep photo viewer open when disabling Panoramax overlay, fixes #10966 2025-04-15 17:05:09 +02:00
Martin Raifer
c6ad3e9a33 drop unneeded duplicate test; lint code 2025-03-21 17:58:22 +01:00
Martin Raifer
8e8c5a8621 Render oneway markers inline in dashed lines (#10849) 2025-03-20 14:01:26 +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
Atul Patil
c7cc7008b8 Feature: add prev/next button to viewer for georeferenced photos (#10865) 2025-03-11 21:20:38 +01:00
Kyℓe Hensel
4747ae253c refactor isOneWay to properly support bidirectional ways (#10730) 2025-02-12 14:22:09 +01:00
Martin Raifer
9e110cfda4 make background map tile edges opaque
Replaces the workaround of the tile rendering issues on Chrome at odd zoom levels.

The svg filter `#alpha-slope5` alters the alpha channel of background tiles such that everything but (almost) transparent pixels are rendered fully opaque.

closes #10747
2025-02-10 13:50:23 +01:00
Kyℓe Hensel
1c5b3b4051 use a more visible colour for oneway arrows on dark lines (#9143) 2025-01-15 11:38:36 +01:00
Kyℓe Hensel
fb8b969c3f fix non-integer layer tag causing invisible features (#9933) 2025-01-15 11:35:18 +01:00
Kyℓe Hensel
065b2e6d9e add queryString option to enable notes by default (#8042) 2025-01-15 11:29:23 +01:00
Martin Raifer
43dab66b3a only rotate selected image's cone to viewer yaw, fixes #10390 2024-08-08 13:58:58 +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
Mattia Pezzotti
9f643aaae1 hide panoramax markers in low zoom overview (#10386)
fixes #10377
2024-08-07 09:08:54 +02:00
Mattia Pezzotti
309735c25e Fix panoramax blur when switching imagery (#10385)
fixes #10362
2024-08-07 09:03:20 +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
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
608251a6ab update photos immediately when filters change 2024-07-29 15:47:24 +02:00
mattiapezzotti
b0d9a2c7ad fixing the mess 2024-07-14 10:13:16 +02:00
Mattia Pezzotti
ab69c4a384 Update panoramax_images.js
Fixing a bug with heading
2024-07-13 13:03:36 +02:00
Martin Raifer
e195947509 Merge branch 'develop' into panoramax 2024-07-12 18:22:53 +02:00
mattiapezzotti
a9d8da10d1 prepared for pr 2024-07-12 00:01:05 +02:00
Mattia Pezzotti
20e6473842 Merge branch 'openstreetmap:develop' into panoramax 2024-07-10 10:37:15 +02:00
mattiapezzotti
91281df1df the slider works now. 2024-07-10 10:35:32 +02:00
arch0345
14794ee992 Remove references to ImproveOSM 2024-07-08 17:15:38 -07:00
mattiapezzotti
a6c667d9a9 still working on the slider 2024-07-07 15:19:13 +02:00
mattiapezzotti
b1f787c94d fixed typos and syntax errors 2024-07-06 13:38:29 +02:00
mattiapezzotti
fd7534b175 fixed age slider label, added current selected year label and maximum oldest year 2024-06-29 09:11:43 +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