Commit Graph

4979 Commits

Author SHA1 Message Date
Noenandre ddc9c6c674 Remove a global module variable "_availableLayers"; move information to cache.
Add new test "fetches available layers".
2023-03-25 17:27:41 +01:00
Noenandre 508c4d1e37 Split a promise into two. 2023-03-15 18:16:21 +01:00
Noenandre c7c130dae1 Use nullish coalescing operator where it makes sense. 2023-03-15 18:15:32 +01:00
Noenandre a2a1fdc58a Tests for service/vegbilder is as comprehensive as similar providers. 2023-03-15 18:13:50 +01:00
Martin Raifer 0334533aee render sidedness markers for man_made=quay
see https://github.com/openstreetmap/id-tagging-schema/pull/810#issuecomment-1464181204
2023-03-13 15:14:27 +01:00
Noenandre 4c6f3621f2 Use last calculated missing heading for null vectors. 2023-03-09 16:45:49 +01:00
Noenandre 2d74e4fde5 Small bugfix. 2023-03-09 16:39:06 +01:00
Noenandre e33279bb4a Create a new zoom behaviour when the image size potentially change. 2023-03-09 16:38:02 +01:00
Kyℓe Hensel 0ec1b45bf9 tweak regex when searching for a feature ID (#9520) 2023-03-06 13:58:48 +01:00
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