Commit Graph

4770 Commits

Author SHA1 Message Date
Noenandre fcbdee0aed Attempt to fix plane photoviewer. 2023-03-06 13:29:44 +01:00
Minh Nguyễn ab442b76ac Preserve precision in raw tags 2023-03-04 23:43:40 -08:00
Minh Nguyễn 023907f9e2 Fixed incrementing/decrementing formatted numbers
The float formatter function now takes a number of fraction digits to return.
2023-03-04 18:36:06 -08:00
Noenandre c824fe1937 Create sequences for each (wfs)layer instead of for all points at once. Rearrange cache. 2023-03-04 14:04:02 +01:00
Minh Nguyễn 4e1129709c Fixed exception formatting nonexistent value
Co-authored-by: Martin Raifer <martin@raifer.tech>
2023-03-03 22:48:30 -08:00
Minh Nguyễn 6419def20f Fixed numeric fields in locales without literals 2023-03-03 22:42:15 -08:00
Minh Nguyễn 5d224a41cd Strip literal (bidi) characters when parsing numbers 2023-03-03 22:42:15 -08:00
Minh Nguyễn ecb7c20bbf Avoid truncation when formatting numbers 2023-03-03 22:42:14 -08:00
Minh Nguyễn 74fdf17477 More minor corrections from code review 2023-03-03 22:42:14 -08:00
Minh Nguyễn 9817894752 Apply suggestions from code review
Co-authored-by: Martin Raifer <martin@raifer.tech>
2023-03-03 22:42:14 -08:00
Minh Nguyễn 0dadd8b31c Clean roadheight value after concatenation 2023-03-03 22:42:14 -08:00
Minh Nguyễn 2ba7177080 Polyfill inadequate Intl support
Ensure that formatting is balanced with parsing to avoid truncating numbers.
2023-03-03 22:42:14 -08:00
Minh Nguyễn 252828bb4b Localize numbers in numeric fields 2023-03-03 22:42:14 -08:00
Noenandre 15f4438fad More info and localization in attribution bar. 2023-03-03 19:24:33 +01:00
Kyℓe Hensel 43b4b4f02b render right-sided arrows for features with lifecycle prefixes (#9493) 2023-03-03 18:53:10 +01:00
Kyℓe Hensel d6b869fe7a add 4 tags which imply oneway=yes (#9492) 2023-03-03 18:48:22 +01:00
Kyℓe Hensel a17b5faf5f Send 'Accept-Language' header on Nominatim API calls (#9501) 2023-03-03 18:34:24 +01:00
Noenandre 255c80d341 Test for init and reset methods on service.
Bugfix for reset.
Adjusted expectation of number of svg layers.
2023-03-03 16:43:54 +01:00
Noenandre 9a7f473f20 Removed a variable, renamed a property. 2023-03-03 12:39:34 +01:00
Noenandre ab2985d985 Fix zoom for plane photos. TODO: set translateExtent correctly. 2023-03-03 12:36:29 +01:00
Noenandre 58cceb03c2 Split concern for panoramic and flat photos to own module. 2023-03-03 01:29:55 +01:00
Noenandre 75dba4b6c7 Filter sequences too. 2023-02-22 21:30:55 +01:00
Noenandre dbf8b9cec6 Estimate image direction (azimuth) if missing. 2023-02-22 14:33:38 +01:00
Noenandre b8eb110a8f Order sequences by time, primarily, and not linear reference. 2023-02-21 23:22:47 +01:00
Noenandre 98975e064b Implemented image filtering. 2023-02-14 14:31:35 +01:00
Noenandre 990cab5856 Fetch available WFS image layers from OWS server. Use maps in cache, instead of objects. 2023-02-14 12:40:34 +01:00
Noenandre 5522338716 Rename pannellum-streetside dist folder to pannellum, since Pannellum isn't used by just Bing Streetside anymore.
TODO: Pannellum is loaded twice.
2023-02-14 12:25:43 +01: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
Martin Raifer fc5b78ba0a show 'set to today' button also on 'survey:date' field 2023-01-27 17:10:02 +01:00
Martin Raifer 3238d3439c fix linter issues 2023-01-27 17:05:43 +01:00
Martin Raifer adcbdae6e8 implement date field, for #9477 2023-01-27 17:03:28 +01:00
Martin Raifer deb2b15cf4 load value icons in combo fields, increase their size slightly
as specified in the tagging schema [v6](https://github.com/ideditor/schema-builder/blob/main/CHANGELOG.md#600)

for #9477
2023-01-24 15:10:50 +01:00
Martin Raifer d9695f1cef update directionalCombo fields to tagging schema v6 schema
keeping a fallback to v5's `cycleway` field type for now

for #9477
2023-01-24 14:25:53 +01:00
Martin Raifer 98e9a11a51 add Röntgen icon set 2023-01-23 20:42:03 +01:00
Martin Raifer 73773b61f1 Fix context "edit" menu on touchscreens
* render labels properly, fixes #9425
* always open the touch-specific edit menu (the contextmenu event is always triggered by the browser on long presses, where we need to make sure that this event doesn't override the `isTouchMenu` property of the edit menu)
2023-01-19 18:27:02 +01:00
archpdx 81374c3735 Fix connect features with uncontrolled crossing (#9443) 2023-01-19 11:59:16 +01:00
Furkan Mutlu f7bd65ac8d fix: 🐛 Fix multiple appending debug vintage unknown label (#9458)
* fix: 🐛 Fix multiple appending debug vintage unknown label

* keep using t.append for accessibility

Co-authored-by: Martin Raifer <martin@raifer.tech>
2023-01-19 11:49:30 +01:00
Martin Raifer dc9b6a3acb only treat traffic_calming=island as an area tag
this is required for a proper fix of https://github.com/openstreetmap/id-tagging-schema/issues/733
2023-01-18 19:15:16 +01:00
Martin Raifer 4b83dceec1 don't split values in semiCombo fields split with , in descriptions
fixes #9471
2023-01-18 19:10:09 +01:00
Kamil Monicz 65da698886 Optimize oldTagIssues method by reordering the checks (#9434)
The hasInterestingTags skips most entities and is light to run - in contrary to presetManager.match
2022-12-20 18:53:09 +01:00
Martin Raifer aeeb441e8b fix regression: labels are not rendered in multi/semiCombo chips
regression was in 479586be37
2022-12-16 12:13:16 +01:00
Martin Raifer 4e3e942127 show (route) relation colours in lists and comboboxes 2022-12-12 22:49:50 +01:00
Martin Raifer 5ef99280bc Merge branch 'field-type-directional' into develop 2022-12-12 22:30:33 +01:00
Rewinteer be4f3ce0d2 Added highway=busway to 'Traffic Roads' group of map features. (#9416) 2022-12-12 22:12:19 +01:00
Martin Raifer 89afee1ad5 lint code 2022-12-12 16:11:15 +01:00
Martin Raifer 479586be37 combo boxes can consume complex label strings now:
instead of `"strings": { "options": { "<tag-value>": "<translatable-string>", …` it is now also supported to have:

```
"strings": {
    "options": {
        "<tag-value>": {
            "title": "<translatable-string>",
            "description": "<translatable-string>"
        },
        …
```
2022-12-09 19:34:13 +01:00
Martin Raifer 4c222fde0a make sure editing multi selection doesn't corrupt tags
because the common tag vs. left/right tag situation can be different for different entities in the multiselection, the approach to merge/split/update the tags needs to be made on a per entity basis

this introduces a new way to specify tag changes: a callback function which is called for each to be modified entity
2022-12-09 19:01:44 +01:00
Martin Raifer 08ae8a3fac reuse combo field module from within directional_combo
reducing duplication of code, and brings missing features to the directional version of the field
2022-12-09 17:28:00 +01:00
Martin Raifer 80d3e767cc rename to "directional combo" field 2022-12-09 13:52:57 +01:00
Martin Raifer d7cbf058ee make cycleway field modular (i.e. accept any supplied keys) 2022-12-09 13:52:02 +01:00