Martin Raifer
60eead24ca
use proper map extent when choosing imagery sources
2022-07-19 13:28:46 +02:00
Martin Raifer
eee346e7dc
apply "is background valid" on "last used" instead of "requested" layer
2022-07-15 18:57:50 +02:00
Renan
1313e4b21e
Fix iD using invalid user selected imagery
2022-07-15 18:54:49 +02:00
Martin Raifer
632e24137a
drop legacy builds, unneeded polyfills, document drop of IE11 support
2022-02-03 13:07:28 +01:00
Bryan Housel
d1410bce00
perf: Compare regexes as strings otherwise they look different each frame
...
Regexes are objects so comparing them with === will always return false
This was causing the sources to be rechecked every frame.
2021-12-22 11:28:07 -05:00
Martin Raifer
25d4ff100f
rename all openstreetcam references to kartaview
...
closes #8807
2021-11-16 17:42:53 +01: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
Quincy Morgan
ca3a0f9dbc
Fix lint warnings
2020-04-02 11:12:10 -07:00
Quincy Morgan
a58abe3c6f
Move localStorage interface from a property of coreContext to a corePreferences function
2020-04-01 11:00:48 -07:00
Quincy Morgan
a1af118f0e
Ensure locales and presets are loaded before the UI loads ( close #7406 )
...
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
72a99673a0
Revert #7428
2020-03-20 09:59:30 -07:00
Bryan Housel
5db95d8a89
Fix source filtering for 'custom' and 'none'
2020-03-13 14:57:40 -04:00
Bryan Housel
bdd02e5943
Fix source filtering at low zooms to include global sources
2020-03-13 12:43:11 -04:00
Bryan Housel
1aa5e89a38
Support {apikey} token replacement
2020-03-12 17:15:42 -04:00
Bryan Housel
dbe643aeac
Switch from bundled editor-layer-index to fetched imagery-index
2020-03-12 14:27:49 -04: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
6e5cb45c17
Don't bundle the imagery anymore, fetch from dist/data at runtime
...
(re: #4994 )
2020-01-30 17:10:41 -05:00
Quincy Morgan
b5a5dfc34a
Don't list non-global imagery sources at low zooms ( close #7062 )
...
Always show the currently selected background in the list (close #7061 )
2019-11-22 12:14:20 -05:00
Matias Volpe
8e616d7384
feat: add Mapillary Map Features layer
2019-08-22 15:16:31 -03:00
Quincy Morgan
83c5fa3215
Fix issue where background panel wouldn't update ( close #6627 )
2019-07-08 16:48:10 -04:00
Quincy Morgan
961a79e4f2
Add photo overlays used during editing to the "source" changeset tag ( close #6279 )
2019-05-16 14:52:41 -04:00
Bryan Housel
ff4f8f005f
Remove lodash find and findIndex
...
(re: #6087 )
2019-03-22 17:31:41 -04:00
Quincy Morgan
7d0080a642
Persist the photo overlay layers via the URL query string (re: #5813 )
2019-03-14 16:48:08 -04:00
Bryan Housel
13b1a9a629
If imagery becomes invalid, remove it from imagery_used
...
(closes #4827 )
2018-12-11 17:49:15 -05:00
Bryan Housel
577e0c6503
Don't add "None" to imagery_used tag when other imagery was used
...
(closes #5565 )
2018-12-11 16:37:52 -05:00
Bryan Housel
46326252bc
Rewrite source.polygon into array of outers without holes
...
(closes #5264 , closes #5250 , closes #5272 )
2018-11-08 13:17:13 -05:00
Bryan Housel
8c8054b785
Better check for file extension, default to .gpx if gpx= in url
...
(closes #5253 )
2018-08-29 00:43:42 -04:00
Bryan Housel
c28c3ba57b
Test vector tile templates against OSM's imagery blacklist
2018-08-25 13:41:43 -04:00
Bryan Housel
9009d55fd1
Add a vector tile service
2018-08-20 21:54:00 -04:00
Bryan Housel
9802b2f831
Restore 'custom' and 'none' options to background imagery list
...
(closes #5226 )
2018-08-18 10:57:26 -04:00
Bryan Housel
4b446e9e78
WIP merge 'gpx' and 'mvt' layers into single 'data' layer
2018-08-17 13:03:07 -04:00
Bryan Housel
8b3637e55d
Speedup imagery index with which-polygon
...
(closes #5226 )
2018-08-16 16:26:01 -04:00
Bryan Housel
4fda478f57
Merge branch 'check' of https://github.com/vershwal/iD into vershwal-check
2018-07-09 09:32:15 -04:00
Bryan Housel
b6fb3a345d
Fetch Esri tilemap at high zoom to determine max zoom
...
The tilemap is only fetched if the user is at z > 18 and will not fetch again
unless the user has moved more than 1km away from the previous fetch
2018-06-28 23:20:08 -04:00
vershwal
1049d4bae4
resolving merge conflicts
2018-06-18 02:06:56 +05:30
vershwal
2b02a44eea
fixed small errors.
2018-06-18 01:27:23 +05:30
vershwal
570bb62197
URL mvt drawing
2018-06-18 01:27:21 +05:30
Bryan Housel
4d4e119a03
The product info seems to prefer "Streetside" over "StreetSide"
2018-06-14 01:17:20 -04:00
Bryan Housel
2dd0d9d36b
Add Bing StreetSide to imagery_used if layer enabled
2018-06-13 18:17:51 -04:00
Bryan Housel
9d55cfb70f
Treat both EsriWorldImagery layers the same (support vintage, etc)
2018-02-01 11:36:20 -05:00
Gautier Pelloux-Prayer
5077f88a4d
Restore latest imagery used from local storage
2018-01-21 23:04:16 +01:00
Bryan Housel
3838b02739
Add detect.cssfilters, fallback to opacity only on IE11/Edge
...
(re: #4711 )
2018-01-19 17:28:35 -05:00
Bryan Housel
50c1b58bda
Added saturation slider, simplify code, improved sharpen parameters
2017-11-30 23:24:55 -05:00
Bryan Housel
53225f08ec
more tweaks to unsharp mask
2017-11-30 16:19:06 -05:00
Bryan Housel
2946774e60
WIP: Add unsharp-mask filter layer to sharpen background imagery
2017-11-30 01:56:23 -05:00
Bryan Housel
6e0a2c1221
Don't use real filenames in the imagery_used field (for privacy)
...
(closes #4530 )
2017-11-15 11:56:32 -05:00
Bryan Housel
00b30e29f0
WIP: Add OpenStreetCam support
...
todo: Need to figure out API issue with bbox, then imageviewer
2017-11-02 22:04:47 -04:00
Bryan Housel
a0a197a69e
Add support for DigitalGlobe imagery vintage overlays
...
(see https://github.com/osmlab/editor-layer-index/issues/371 )
2017-11-01 13:46:13 -04:00
Nikita Mashukov
a00debe663
push gpx src (file name or url) to imagery_used
2017-10-14 18:37:49 +07:00