Martin Raifer
b2b3009a64
.env oauth2 config: drop client secret; use URL if API_URL is empty
2024-07-05 16:15:47 +02:00
Martin Raifer
211b6dde5f
upgrade to eslintv9 (config format, lint to updated rules)
2024-04-12 18:44:04 +02:00
Martin Raifer
83754e4a4a
switch to Bing Maps API for Bing Streetside layer, fixes #10074
...
replaces the use of undocumented APIs for Microsoft's street level imagery service and gets rid of hardcoded values, e.g. for the `g` ("generation") parameter
see https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata#get-streetside-metadata-centered-at-a-point for API docs
see also #10100
2024-02-16 18:29:23 +01:00
Martin Raifer
87a05f5815
migrate to osm-auth 2.3
2023-11-14 08:13:44 +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
5951391ae6
fix typos
2023-08-10 17:37:05 +02:00
Martin Raifer
e8703e6bb6
Merge remote-tracking branch 'noenandre/vegbilder' into develop
2023-08-07 10:31:07 +02:00
Martin Raifer
a460013991
fix test for fixed/updated nominatim API call
2023-08-04 17:30:53 +02:00
Martin Raifer
7b622e040b
Merge branch 'develop' into vegbilder
2023-07-20 17:21:45 +02:00
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
a2a1fdc58a
Tests for service/vegbilder is as comprehensive as similar providers.
2023-03-15 18:13:50 +01: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
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
Martin Raifer
a2cacaaf24
Don't auto-suggest undocumented tag values which have fewer than 100 uses
...
* previously, this check was based on the "fraction" of the respective tag value, which excluded more values for common tag keys, but fewer for less common ones.
* this sets a limit of 100 uses for undocumented tags (key=value pairs)
* tags with a wiki page are always allowed
* this harmonizes the heuristic of which tags to show between preset fields and the raw tag editor (previously, there was an additional `count > 10` filter present in combo fields, which is now uncessary)
closes #9227
2022-08-01 19:10:18 +02:00
Martin Raifer
280acfa661
Replace RapiD credentials with iD credentials
2022-06-02 14:46:11 +02:00
Bryan Housel
6058f89460
Upgrade to osm-auth v2 which uses OAuth2 to connect to OSM API
2022-06-02 13:07:50 +02:00
Martin Raifer
94db5c23b8
Merge remote-tracking branch 'wvanderp/switchToKarma' into develop
2021-12-07 19:59:16 +01:00
Martin Raifer
25d4ff100f
rename all openstreetcam references to kartaview
...
closes #8807
2021-11-16 17:42:53 +01:00
Wouter van der Plas
5305b4fb46
removed formatting
2021-10-25 00:50:53 +02:00
Wouter van der Plas
2a28f32f7a
fixed more tests
2021-10-23 17:50:33 +02:00
Wouter van der Plas
a87142aaf3
some updateds
2021-10-23 17:50:18 +02:00
Wouter van der Plas
f2c77a0e62
Nominatim
2021-10-23 17:50:18 +02:00
Wouter van der Plas
e7d9e050cf
Mapillary
2021-10-23 17:50:18 +02:00
Wouter van der Plas
4a8f423997
taginfo
2021-10-23 17:50:18 +02:00
Wouter van der Plas
83ff3c4f5e
first setup
2021-10-23 17:50:18 +02:00
Bryan Housel
33fab5580b
Before calling init() make sure the assetPath is set
...
init kicks off building the ui, which can fetch spritesheets for the <defs>
The assetPath needs to be set otherwise these files will not be found
2021-08-16 22:06:42 -04:00
Nikola Pleša
7a0d8adb7b
Switch to Mapillary API v4
2021-06-15 10:13:07 +02:00
Nikola Pleša
6cd17713fa
Use Mapillary vector tiles for images, sequences and map features
2021-03-01 10:19:41 +01:00
Quincy Morgan
1da280c79d
Enable func-call-spacing eslint rule
2020-11-10 14:33:35 -05:00
Quincy Morgan
04b3a788f9
Add lint:fix script
...
Enable no-trailing-space eslint rule
2020-10-23 13:24:44 -04:00
Quincy Morgan
a33ab44e81
Merge branch 'develop' into photo-filter-temp
...
# Conflicts:
# css/80_app.css
# modules/services/mapillary.js
2020-10-12 16:16:32 -04:00
Quincy Morgan
80eb197212
Merge pull request #7752 from peternewman/patch-6
...
Fix a lot of typos and initial codespell action run
2020-10-05 14:02:19 -04:00
Quincy Morgan
ad54a6e140
Support opening iD with a Streetside or OpenStreetCam photo specified as a URL parameter ( close #6398 )
...
Bring the APIs for the three street level services closer in sync
2020-10-02 13:30:36 -04:00
Quincy Morgan
73a826cefc
Fix code tests for bbbf401232
2020-09-24 08:30:19 -04:00
Quincy Morgan
9510578107
Merge branch 'mapillary-update' into develop
...
# Conflicts:
# modules/services/mapillary.js
# modules/svg/mapillary_map_features.js
# modules/svg/mapillary_signs.js
2020-09-13 16:34:25 -04:00
Quincy Morgan
03ca12741f
Make imageryBlocklists return regex objects instead of strings
...
Fix performance bug due to checking background source blocks too often
2020-09-04 10:09:47 -04:00
Quincy Morgan
a72a2bb860
Hide background sources from the list if they're blocked ( close #7905 )
2020-09-03 12:30:59 -04:00
Nikola Plesa
8993cd2a29
fix: update unit tests
2020-08-07 12:48:51 +02:00
Nikola Plesa
fe1aabbf31
fix: unit tests
2020-08-03 14:08:10 +02:00
Nikola Plesa
6a8215d43e
Fix unit tests
2020-07-27 10:05:03 +02:00
Nikola Plesa
22bc5121a4
feat: date and username filtering for photo overlay layers
2020-07-27 09:42:59 +02:00
Nikola Plesa
d106dee0c6
feat: date and username filtering for photo overlay layers
2020-07-23 13:28:19 +02:00
Peter Newman
2c47a11008
Fix the seemingly safe spellings found by codespell
...
Untested, only checked by inspection.
2020-06-28 23:06:44 +01:00
Quincy Morgan
a7ce956e1f
Don't use global selectors in street-level photo services (re: #7445 )
2020-03-29 11:04:38 -07:00
Quincy Morgan
1e820b6980
Convert OSM API tests to simulate JSON responses (re: #7188 )
2020-03-12 16:45:08 -07:00
Bryan Housel
dc7fba4bf8
Have utilStringQs advance past any leading '?' or '#' characters
...
This lets us remove a bunch of substring(1) and +1 from the code.
2020-02-20 17:09:54 -05:00
Bryan Housel
0fe766d9a4
WIP on external presets
...
- preset data is no longer bundled into iD.js
- some code pathways commented out re: external presets
- many changes so that tests can run without presets at start, or async
- still need to make sure fallbacks are always there (point, line, area, etc)
2020-02-05 09:38:26 -05:00
Bryan Housel
e19bcb77d5
Require init() call before coreContext starts doing things
...
(closes #7304 )
2020-01-29 19:27:12 -05:00
Quincy Morgan
0d5bd8b277
Store selected mapillary image by its key rather than its object
...
Properly sort selected mapillary signs and features above unselected ones
2019-12-11 17:15:36 -05:00