Commit Graph

4690 Commits

Author SHA1 Message Date
Josh Lee
298d30e6a2 Fix regression in user account display (#8813) (#9906) 2023-11-08 11:02:45 +01:00
Martin Raifer
dabbd89e5d suppress autocomplete for taginfo results if field has static values
fixes #9898

Fixes a problem that occurs because the order of the field `options`
can be in general different from the order returned by taginfo
(taginfo sorts by usage, while presets typically are sorted alphabetically),
causing different values to be potentially selected for autocomplete values.
As the taginfo results typically come in a few moments delayed, this can
lead to confusing behaviour.

This solves it by just not reattempting an autocomplete using the taginfo
results, if a field has static options available.
2023-11-08 10:42:09 +01:00
Martin Raifer
c4d1390270 use api.osm.org url for OSM API calls
see https://github.com/openstreetmap/operations/issues/951
2023-10-10 16:03:10 +02:00
Martin Raifer
5d00f604ae show source field for changesets by default in the upload form 2023-10-10 16:03:09 +02:00
Martin Raifer
cb453e6192 minor cosmetic changes
drop abbreviation "mly" from mapilio module, as this originally stood for "mapillary"
2023-08-17 23:55:10 +02:00
Martin Raifer
13a0f2c180 Fix stuck cursor in input fields on Safari, fixes #9848 2023-08-17 23:34:11 +02:00
Martin Raifer
0428976f04 fix changed references to panellum code in /dist 2023-08-16 18:02:46 +02:00
Martin Raifer
be0f6e647a highlight photo after selecting from list 2023-08-11 17:43:39 +02:00
Martin Raifer
c297d9bc18 fix name clash which was overriding an existing event handler
fixes #9829

fixes regression from d7902e1388
2023-08-11 15:11:25 +02:00
Martin Raifer
7813177675 don't zoom if there are no photos with coordinates 2023-08-10 18:49:50 +02:00
Martin Raifer
5951391ae6 fix typos 2023-08-10 17:37:05 +02:00
Martin Raifer
77f31cad07 fix tests 2023-08-09 18:39:24 +02:00
Martin Raifer
cf2e4c990e lint 2023-08-09 18:24:16 +02:00
Martin Raifer
4419b36eae lazily load local photo files 2023-08-09 18:12:42 +02:00
Martin Raifer
0b03f49da1 improve drag&drop behavior 2023-08-09 17:36:50 +02:00
Martin Raifer
a7685f6bf0 highlight selected and/or hovered photos 2023-08-09 17:00:01 +02:00
Martin Raifer
ab008eb29e show direction/viewfield on local photo markers in high zoom 2023-08-09 16:33:46 +02:00
Martin Raifer
97fcb18d2a switch to (vegbilder's) zoomable plane photo viewer 2023-08-09 11:54:13 +02:00
Martin Raifer
471354af4f add list of loaded local photos 2023-08-08 17:12:35 +02:00
Martin Raifer
634ce10d24 add proper local photo strings, enable layer switcher checkbox 2023-08-07 16:14:32 +02:00
Martin Raifer
e94087c5d4 don't zoom in too far when centering on a single photo 2023-08-07 16:00:10 +02:00
Martin Raifer
1572835a48 move local photos to "Photo Overlays" section 2023-08-07 11:52:33 +02:00
Martin Raifer
55ad5aa856 skip images with no location when rendering 2023-08-07 11:39:01 +02:00
Martin Raifer
617d580ccb implement fitZoom 2023-08-07 11:28:45 +02:00
Martin Raifer
8c1b185fb3 remove unused imports/vars, fix code indentation, lint 2023-08-07 11:09:16 +02:00
Martin Raifer
884874dedc Merge branch 'develop' into gsoc_2022/explore_iD 2023-08-07 10:38:10 +02:00
Martin Raifer
e8703e6bb6 Merge remote-tracking branch 'noenandre/vegbilder' into develop 2023-08-07 10:31:07 +02:00
Kyle Hensel
d01112372b don't suggest discardable tags in the raw tag editor 2023-08-06 15:07:35 +12:00
Martin Raifer
a2d3cf8f9a fix jumping cursor while editing in some input fields
fixes #9233
2023-08-03 16:49:37 +02:00
Martin Raifer
a454aa35c1 fix nominatim API search syntax
see https://github.com/osm-search/Nominatim/issues/3134
2023-08-03 11:41:06 +02:00
Kyℓe Hensel
f7cbdfb9e5 fix incorrect earth radius constants (#9793) 2023-08-02 18:13:49 +02:00
Martin Raifer
57ca36227b fix clearing of contents of some input field when the tag is removed
e.g. when using the trash can icon on the UI field
2023-08-02 17:54:48 +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
Martin Raifer
edb7c3b0f2 only fetch vegbilder layers if they are needed
i.e. when enabling the respective street-side photo layer
2023-08-02 16:35:57 +02:00
Martin Raifer
d7902e1388 only show regional street-level photo providers in the available region
and disable selection checkbox if not zoomed in enough to load the photos
2023-08-02 16:35:56 +02:00
Martin Raifer
13300026e3 Merge branch 'develop' into vegbilder 2023-08-01 17:09:21 +02:00
Martin Raifer
806388f16e Merge branch 'vegbilder' of github.com:noenandre/iD into vegbilder 2023-08-01 17:05:29 +02:00
Martin Raifer
ad1162dd17 fix panning in mapilio 360° images 2023-08-01 16:55:41 +02:00
Martin Raifer
a481361bf3 Merge remote-tracking branch 'mapilio/add_mapilio_data' into develop 2023-08-01 16:15:55 +02:00
Noenandre
f3bf7dbf4d Reorder execution of init.
Set "on" binding before awaiting cache reset.
Set "wfslayers" to a empty map
immediately on reset.
2023-07-23 14:16:19 +02:00
Noenandre
4d44eedb3d Too set autoLoad to false when adding a scene,
seems too fix "Uncaught TypeError: Cannot set properties of undefined".
2023-07-23 00:37:27 +02:00
sezerbozbiyik
c70abfa3d1 added zoom, photo hash-parameter and some fixes 2023-07-21 14:47:26 +03:00
sezerbozbiyik
d35aff7ebb Merge branch 'develop' into add_mapilio_data 2023-07-21 14:40:58 +03:00
Martin Raifer
46a2d6365f show tag reference info for the currently filled-in tag value, closes #9786 2023-07-21 11:03:28 +02:00
Martin Raifer
61af54c069 fix combo field's dropdown when tag reference info is displayed
show it immediately after the input field instead of after the tag documentation text
2023-07-21 10:44:21 +02:00
Martin Raifer
3159c87ae1 disable deprecated marked options
to get rid of warnings in the console
2023-07-21 09:34:20 +02: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