Commit Graph

38 Commits

Author SHA1 Message Date
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
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