Commit Graph

25 Commits

Author SHA1 Message Date
Bryan Housel 4289afa6fe Keep Mapillary viewer loading animation if canvas not yet created 2016-06-07 15:47:20 -04:00
Bryan Housel f2cde0bfef Limit number of pages to fetch from Mapillary search API
(closes #3149)
2016-06-06 20:45:30 -04:00
Bryan Housel ca79638ecd Refactor click tracking into Mapillary service, addl cleanups 2016-06-01 00:24:30 -04:00
Bryan Housel e364b7ec30 Show loading spinner in loadchanged, update selection in nodechanged 2016-05-31 17:16:17 -04:00
Bryan Housel e57914d77e WIP: preload viewer when layer enabled, still bad issues with slow load timing 2016-05-30 03:20:43 -04:00
Bryan Housel 6788f7932a Load mapillary viewer assets dynamically from CDN 2016-05-29 23:07:37 -04:00
Bryan Housel a99f54b83b WIP: simplify code, attempt to preload viewer 2016-05-29 15:00:46 -04:00
Bryan Housel d728059afb Remove static Mapillary thumbnail image
(Viewer object shows the image while loading)
2016-05-28 00:42:35 -04:00
Bryan Housel 0eac0ff862 Don't show thumbnail when hovering over Mapillary markers 2016-05-27 22:43:17 -04:00
Kushan Joshi f81ff29645 Mapillary Js, second stab 2016-05-25 15:51:36 +05:30
peterneubauer 8782c1480d adding MapillaryJS, first stab. 2016-05-22 11:09:26 +05:30
Bryan Housel 2d987a3ece Don't fetch overlay tiles or mapillary data around Null Island
(closes #2751)
2016-04-09 23:04:02 -04:00
Bryan Housel 78d2d86ff7 Add context.asset for building asset filenames, use it for traffico
We were using assetMap/assetPath but only for images, and it was broken anyway
(fixes #3011)
2016-03-02 23:06:33 -05:00
Bryan Housel 0a238dbfcc Load traffico stylesheet dynamically 2016-02-17 12:03:51 -05:00
Bryan Housel 7d0d7e0309 Avoid passing context to mapillary service 2016-02-16 15:54:14 -05:00
Bryan Housel 5957adb67d Dynamically check for existence of Mapillary service
This allows us to
1. enable specific parts of Mapillary only for certain browsers
2. remove the Mapillary service completely if desired (closes #2722)

To remove Mapillary, just set `iD.services.mapillary = null`
or remove the <script> tag that loads mapillary.js.
2016-02-15 16:16:44 -05:00
Bryan Housel ff5139fc58 Position Mapillary thumbnail on opposite side of map from marker
(closes #2775)
2016-02-14 00:23:18 -05:00
Bryan Housel 272924140c Partition viewport into regions and cull visible mapillary data
This is awesome because it allows mappers to see a subset of the data
at low zoom, but they get more of it as they zoom in.
2016-02-13 13:31:01 -05:00
Bryan Housel ab6a81e344 Move rtrees to Mapillary service, DRY code, set minZoom to 12 2016-02-11 14:09:18 -05:00
Bryan Housel bed73a78e3 Fetch all paginated Mapillary results, cleanup thumbnail selection 2016-02-10 01:05:36 -05:00
Bryan Housel 3facc28928 Improve layer transitions, debounce redraws, other goodness 2016-02-09 17:19:06 -05:00
Bryan Housel 9777906711 Cleanup MapillarySignLayer, Mapillary service 2016-02-09 11:57:39 -05:00
Bryan Housel a62f41b611 Cleanup MapillaryImageryLayer, Mapillary service 2016-02-08 23:46:26 -05:00
Bryan Housel caf464e3d3 Fetch mapillary data in tiles and cache 2016-02-08 17:14:46 -05:00
Bryan Housel f173441fe3 WIP: Mapillary service 2016-02-08 15:46:37 -05:00