Commit Graph

53 Commits

Author SHA1 Message Date
Bryan Housel
b99be67169 When calling an errback from a Promise.catch, pass err.message 2019-04-25 21:58:36 -04:00
Bryan Housel
e6bc9d9e8f Swap out d3-request, swap in d3-fetch 2019-04-24 16:25:25 -04:00
Bryan Housel
7e6f68a1b2 Remove lodash some
(re: #6087)
2019-03-23 00:07:52 -04:00
Bryan Housel
0e90167513 Remove lodash clone
(re: #6087)
2019-03-22 23:18:25 -04:00
Bryan Housel
0a1e497836 Ignore errors from Bing ImageryProviders 2019-03-06 17:32:05 -05:00
Minh Nguyễn
9e3d49efb7 Replace wkid/w/s/n/e in WMS URL templates 2019-01-19 15:42:22 -08:00
Bryan Housel
2df39c1dc7 Escape all .s in imagery identifiers, not just the first one
(closes #5737)
2019-01-19 10:53:09 -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
8b3637e55d Speedup imagery index with which-polygon
(closes #5226)
2018-08-16 16:26:01 -04:00
john gravois
bbe86510a3 remove ?blankTile=false and space from tilemap url to fix 404 2018-08-13 09:25:07 -07:00
Bryan Housel
52dc6c280f Preparation for non-256px tileSizes in sources 2018-07-22 01:43:56 -04:00
Bryan Housel
2fa593421f Rename scaleExtent to zoomExtent, slightly simplify getTiles() 2018-07-22 01:15:44 -04:00
Tom Hughes
4cc080b034 Use XHR to fetch imagery metadata instead of JSONP 2018-07-04 17:00:45 +01:00
john gravois
50c371f77b continue to catch 404s 2018-06-29 09:57:52 -07:00
john gravois
dd951a9b35 use 22 as maxZoom for Esri imagery (selectively) 2018-06-29 09:20:05 -07: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
john gravois
eaa9d8d246 fix recomposed tilemap url 2018-06-15 08:21:53 -07:00
john gravois
34fa12a132 use existing method to trigger tilemap 2018-06-14 15:13:35 -07:00
john gravois
617eb06364 use d3_json instead of fetch 2018-06-14 13:22:07 -07:00
john gravois
d036af8b29 add logic to set maxZoom of esri layers interactively 2018-06-14 13:22:07 -07:00
Martin Raifer
846da84831 add support for 4326 WMS layers 2018-03-07 23:44:19 +01:00
Bryan Housel
d9ebdda105 Polyfill sinh for IE11, add tests for wms replacement tokens
(see #4814)
2018-03-01 22:08:39 -05:00
Martin Raifer
2b96a8ee0b load WMS tiles if EPSG:3857 (or equivalent) is supported 2018-02-25 20:17:21 +01:00
john gravois
a96bf1421c query the appropriate metadata for esri clarity 2018-02-02 10:02:28 -08:00
Bryan Housel
18ab596f58 Improve int'l date/time strings on imagery and history tools
(closes #4594)
2017-12-06 15:27:54 -05: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
Bryan Housel
475db33b3f Bump default max_zoom from 20 to 22 (affects custom imagery) 2017-11-01 10:36:23 -04:00
Bryan Housel
d906ca6b10 Convert lodah-es and d3 to named imports for renderer 2017-09-25 14:35:33 -04:00
Bryan Housel
12be1a8161 pacify eslint 2017-09-13 09:03:16 -04:00
Bryan Housel
1fcceeb0e8 Move string processing into background_source 2017-09-12 17:02:17 -04:00
Bryan Housel
9d60d9c6b0 Track inflight jsonp requests and avoid reissuing them 2017-09-12 15:00:32 -04:00
Bryan Housel
6addbba340 reorganize metadata object, change display of meters 2017-09-12 14:51:01 -04:00
john gravois
5f341366e7 display additional metadata from Esri World Imagery
* getVintage() becomes getMetadata()
* ignore a couple unrelated lint nags
* add source description, resolution and accuracy info to debug panel
2017-09-11 09:51:07 -07:00
jgravois
7521369ece add support for displaying esri metadata 2017-09-09 21:59:07 -07: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
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
b9df6df03f Imagery vintage improvements:
- Cache vintage lookups from Bing API
- Actually sample a tile at the center of the viewport,
  rather than just divinding tiles/2 (not a good guess)
- Refactor the start-end range code into one place
2017-07-03 15:12:59 -04:00
Bryan Housel
54a8ae439a Include start/end imagery dates from editor-layer-index 2017-07-01 02:31:08 -04:00
Bryan Housel
0d27743b81 Improve formatting for imagery capture dates 2017-07-01 00:47:16 -04:00
Bryan Housel
150985a57d Fetch imagery vintage from Bing source, add info to location panel 2017-06-30 18:52:17 -04:00
Bryan Housel
c961788a5b Fix translation for imagery with a '.' in the id
(closes #4112)
2017-06-19 23:35:34 -04:00
Bryan Housel
8f6bd5fb14 Show icons from the editor-layer-index, remove old Bing icon 2017-06-16 12:04:54 -04:00
Bryan Housel
3d208311bd Change imagery Transifex to YAML, use translated name and description 2017-06-16 00:51:04 -04: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
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -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
6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Tom MacWright
af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Tom MacWright
604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00