Commit Graph

47 Commits

Author SHA1 Message Date
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
Bryan Housel d906ca6b10 Convert lodah-es and d3 to named imports for renderer 2017-09-25 14:35:33 -04:00
Bryan Housel 1c9719d763 Avoid requesting blank tiles from EsriWorldImagery
(closes #4327)

This allows the real tiles to overzoom, so the user does not see
tiles with the "map data not yet available" message
2017-09-09 08:51:13 -04:00
Bryan Housel 99a3741b0c Better isolation of services, to avoid hitting network during test runs
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
   (e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel 3464a46df6 All imagery layers should just be owned by rendererBackground()
This moves management of the custom layer out of uiBackground()
2017-07-20 16:07:10 -04:00
Pierre GIRAUD 5b89003101 Remember the chosen custom background when set by url 2017-07-20 09:35:30 +02:00
Bryan Housel a15821ecf1 Use single Custom backround source, and add template() accessor
Before, each time the user switched to the custom source, it would
create a brand new custom source with the offset set to [0,0]
(closes #3982)
2017-07-10 23:25:40 -04:00
Bryan Housel 7358766d4d Don't update hash, imagery_used when changing background in walkthrough
(closes #3936)
2017-03-30 00:38:03 -04:00
Martin Raifer 224059bdee fix typo: iterate over imagery blacklist
see https://github.com/openstreetmap/iD/issues/3858#issuecomment-282130145
2017-02-24 13:45:02 +01:00
Bryan Housel aa3c1c8431 All sources have id now, so compare by id
Fixes an issue where a source might not compare strictly equal e.g.:
1. custom imagery gets blacklisted and replaced with a
`rendererBackgroundSource.None()`
2. which doesn't strictly === the `rendererBackgroundSource.None()` on the
background pane switcher
3. so the radio button would not appear checked
2016-12-04 21:47:46 -05:00
Bryan Housel a7ac44f6e8 Refactor imageryBlacklists so it can be called without triggering a GET
Previous code was problematic because we need the function to
to properly blacklist custom imagery passed in through the url hash,
before iD is completely initialized.  Triggering GET causes tests to
break because osm service testing has side effects :-/
2016-12-04 21:35:55 -05:00
Bryan Housel c353684ad3 Add imagery blacklist tests to rendererBackground#baseLayerSource 2016-12-04 13:55:18 -05:00
Bryan Housel e331bb7f8c Use imagery ids instead of names, update blacklist, npm run imagery 2016-11-17 14:16:52 -05:00
Bryan Housel ff5372490b Fix url parser to work with lat/lng when checking for "best" imagery
(closes #3586)
2016-11-15 13:13:28 -05:00
Bryan Housel 93d50b4e87 Use live bound object for imagery array, remove context.imagery() accessor
Also update documentation, closes #3359
2016-11-14 11:16:45 -05:00
Bryan Housel 1c3e778baf Check for rtl url parameter for testing (rather than regex) 2016-10-08 12:45:01 -04:00
Bryan Housel 0d0e54fdff Fix more namespaces that were missed in the first pass 2016-10-04 21:15:30 -04:00
Bryan Housel 3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel a6d683eaf7 Code cleanups in svg, ui for selection merging, fix Mapillary. 2016-09-17 23:26:49 -04:00
Bryan Housel a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright 604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Kushan Joshi 39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Kushan Joshi 6a56ad547c external modules for renderer 2016-06-22 12:34:43 +05:30
Kushan Joshi 46d68bca87 modularize iD.renderer 2016-06-17 12:53:19 +05:30