52 Commits

Author SHA1 Message Date
Martin Raifer
7b702bed16 drop unused import 2025-05-15 17:03:48 +02:00
Martin Raifer
9b7a98862d Merge remote-tracking branch 'origin/housenumber-labels' into develop 2025-05-12 18:02:47 +02:00
Martin Raifer
6bfcc17e2d simplify/streamline rendering of set photo id button
using d3 patterns instead of complicated manual add/remove
2025-04-29 17:21:51 +02:00
Martin Raifer
b78a1ac27e clean up onclick logic 2025-04-29 16:53:19 +02:00
Martin Raifer
4a9c0b4be9 properly clean up / remove "set photo id" button for unsupported providers
closes #10992
2025-04-29 16:48:37 +02:00
Martin Raifer
96746c2f7d fix crash when feature is deleted while map-panning and photoviewer is open
closes #10994
2025-04-29 15:03:14 +02:00
Martin Raifer
ef1068c257 more robuse detection of active photo service
fixes a glitch where sometimes the _pick photo id_ button would be overlapping the zoom buttons on panoramax
2025-04-29 13:43:50 +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
aa96a67c65 use lodash-es everywhere, replace custom clamp methods with lodash 2025-04-21 14:43:35 +02:00
MOHAMED ALI FAWZI
9590c88646 Panoramax: Adopt "copy id" feature from mapillary (#10856) 2025-03-19 20:13:46 +01:00
Martin Raifer
404e08518e use correct margins when limiting photoviewer size, fixes #10558
replaces hardcoded values with dynamically calculated heights/margins.

closes #10563
2024-12-04 13:03:34 +01:00
Martin Raifer
34bb143561 fix undefined translation string, see #10417 2024-08-22 13:54:23 +02:00
Martin Raifer
31bef9f064 fix calculation of non-node feature extents, fixes #10417 2024-08-22 13:52:24 +02:00
Martin Raifer
9407f309a7 Merge branch 'develop' into panoramax 2024-07-29 15:13:38 +02:00
Martin Raifer
d13c202ac0 update "add mapillary tag" button state when tags of the feature change
addresses https://github.com/openstreetmap/iD/pull/10046#pullrequestreview-2176313208
2024-07-16 22:10:08 +02:00
Martin Raifer
7d65b19d6d simplify code 2024-07-12 18:02:14 +02:00
Martin Raifer
1d0f9e6447 lint 2024-07-12 17:53:41 +02:00
Martin Raifer
d9c973b745 disable button when photo is too far from selected feature 2024-07-12 17:49:34 +02:00
Martin Raifer
b604ef8f6f make button work on newly created features; refactor code
code: we should not to not rely on directly manipulating/accessing other components DOM elements
2024-07-12 17:22:03 +02:00
Martin Raifer
6e9d225828 use slightly smaller "plus" icon
(this one is also used in other similar UI locations, e.g. the "add tag" in the raw tags editor, etc.)
2024-07-12 17:20:09 +02:00
mattiapezzotti
ff2f508575 trying stuff with API (again) (some issues uh) 2024-05-30 14:59:00 +02:00
laigyu
b1ff86cd29 tooltip update 2024-04-15 14:54:43 +08:00
laigyu
2325de4662 update butotn logic 2024-04-12 18:37:26 +08:00
laigyu
6b8b41c2ff tooltip style change 2024-04-08 18:22:58 +08:00
laigyu
d448b586ed revert error handler 2024-04-07 23:19:41 +08:00
laigyu
94e32a85b0 revert field button 2024-04-07 22:04:22 +08:00
NaVis0mple
6b860b7da0 refactor the code
'_' change to '-'
2024-02-05 18:12:01 +08:00
NaVis0mple
666bbbfbfc code style change 2024-02-02 17:07:26 +08:00
NaVis0mple
b597cc1341 refactor the code 2024-02-02 16:30:52 +08:00
NaVis0mple
0ad46e0b72 Add error message in photoviewer when invalid id
and update input.js
2024-01-27 15:14:27 +08:00
NaVis0mple
0ef947d425 Update set_photo_from_viewer button create/remove logic
refactor the code expandability for other photo_overlay

Not sure about context.features().on('change'), and hash part
2024-01-20 20:07:49 +08:00
NaVis0mple
2b0e0f6349 update core.yaml 2024-01-18 15:36:05 +08:00
NaVis0mple
6523ae6f94 Update icon to '#iD-operation-merge' 2024-01-18 15:20:33 +08:00
NaVis0mple
5890b79472 Add set mapillary id button in the mapillary photo viewer
It is the a. part in https://github.com/openstreetmap/iD/issues/6196#issuecomment-751460516

still need to add button disabled logic
2023-12-28 00:34:14 +08:00
Martin Raifer
13300026e3 Merge branch 'develop' into vegbilder 2023-08-01 17:09:21 +02:00
sezerbozbiyik
d35aff7ebb Merge branch 'develop' into add_mapilio_data 2023-07-21 14:40:58 +03:00
Martin Raifer
7b622e040b Merge branch 'develop' into vegbilder 2023-07-20 17:21:45 +02:00
Martin Raifer
d0e061c472 don't hardcode padding constanst, add changelog 2023-07-20 17:15:21 +02:00
sezerbozbiyik
9876e92377 add hover and click event 2023-05-26 18:16:49 +03:00
Noenandre
a2c56b7d4f Initial work for new street level photo provider "Vegbilder" from the Norwegian Public Roads Administration. 2023-02-14 12:15:55 +01:00
Milos Brzakovic (E-Search)
4db3e720c0 close icon button 2021-11-26 12:25:12 +01:00
Martin Raifer
25d4ff100f rename all openstreetcam references to kartaview
closes #8807
2021-11-16 17:42:53 +01:00
Quincy Morgan
21a49bbec8 Initial support for D3 v6.2.0 2020-10-06 15:08:39 -04:00
Quincy Morgan
4050940268 Lazy load photo overlay resources (close #7982) 2020-09-13 11:52:37 -04:00
Quincy Morgan
a781847d6a Use pointer events for resizing the photoviewer on supported devices (re: #5505) 2020-05-08 12:01:38 -07:00
Quincy Morgan
eed7944a1a Replace various uses of d3_select and d3_selectAll with selection on the container 2020-03-22 12:34:06 -07:00
Quincy Morgan
f2a687f68b Convert container from id to class 2020-03-20 15:08:56 -07:00
Quincy Morgan
371bac0aa2 Convert photoviewer from id to class 2020-03-20 14:07:09 -07:00
Quincy Morgan
d01bb78707 Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys (close #6237) 2019-04-24 13:45:59 -07:00
Quincy Morgan
7d0080a642 Persist the photo overlay layers via the URL query string (re: #5813) 2019-03-14 16:48:08 -04:00