Commit Graph

553 Commits

Author SHA1 Message Date
Bryan Housel 6314c276e8 More debug versatility 2016-06-10 10:36:28 -04:00
Bryan Housel a8ac9faad8 Add Mapillary Images, Mapillary Signs to imagery_used tag
(closes #3069)
2016-06-04 00:51:05 -04:00
Bryan Housel e6c440cfae Remove clearTimeout from queueRedraw, for long mousedrags or ease transitions
Old behavior would redraw only after the map stops moving for 300ms
New behavior will force redraw within 750ms, regardless of map stability
2016-05-27 16:02:21 -04:00
Bryan Housel ee647c8834 Smooth centerEase with duration param 2016-05-27 15:52:16 -04:00
Bryan Housel bd60aceaf0 Add tile debugging, redraw when debug flags change 2016-05-19 00:43:01 -04:00
Kushan Joshi 6ef52256f3 Migrating to lodash v4 2016-05-17 12:37:25 +05:30
Bryan Housel 643b4ad49b Stable sort for background imagery list
Sort by 1. best, 2. area descending, 3. name ascending
2016-05-11 21:09:10 -04:00
Bryan Housel 12dabca249 Update url hash as user adjusts imagery offset 2016-05-03 10:59:33 -04:00
Bryan Housel 90fd1e3f8d Support setting imagery offset via url hash
(closes #3093)
2016-05-03 10:25:04 -04:00
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 f11f4bb58e Close imagery tile seams
(closes #3053)
2016-04-06 09:38:50 -04:00
Bryan Housel 85d38de75b Dispatch layer change events instead of hacky map pan
(fixes #3027, fixes #2804)
2016-03-12 00:12:43 -05:00
Bryan Housel c4fbacd625 Rename major_roads -> traffic_roads, minor_roads -> service_roads 2016-03-05 23:58:09 -05:00
Bryan Housel 3ef05cad79 Move highway=unclassified to major_roads feature filter 2016-03-05 23:31:02 -05:00
Bryan Housel 34901d11b9 Remove radial menu at old position when resetting surface transform 2016-02-25 21:42:49 -05:00
Bryan Housel 69bc50aafb Move data layers out of Background 2016-02-24 22:38:03 -05:00
Bryan Housel 45e4e730a8 iD.svg.Surface -> iD.svg.Layers 2016-02-24 15:41:22 -05:00
Bryan Housel caf5ff815c Move svg into iD.svg.Surface, adjust layer names 2016-02-24 00:07:04 -05:00
Bryan Housel 1f337aa960 Move more data layers from Background into Surface 2016-02-23 16:15:26 -05:00
Bryan Housel a5d8e1b0cb Move gpx layer from background to surface 2016-02-22 23:31:43 -05:00
Bryan Housel f37a809001 Make point draw function more consistent with other draw functions 2016-02-22 16:52:49 -05:00
Bryan Housel 6c1df37298 Move GPX, Mapillary Images, Mapillary Signs into svg namespace 2016-02-18 17:11:57 -05:00
Bryan Housel dd9e399971 Merge pull request #2984 from openstreetmap/phantomjs-2
Test with phantomjs 2.1 and mocha-phantomjs-core
2016-02-16 22:35:22 -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 6b1fe52d0d Map centerEase to selected marker 2016-02-10 22:41:18 -05:00
Bryan Housel e5fc872a19 Adjust Mapillary styles for cross browser support 2016-02-10 17:12:51 -05:00
Bryan Housel 221bf225f1 Reset supersurface transform for Mapillary streetsigns layer
For some reason the foreignObject nodes are not correctly positioned
unless this transform is set to a value.
2016-02-10 01:06:14 -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
John Firebaugh ac3dfb95a3 Prevent AddPoint tests from making network requests 2016-02-08 19:02:37 -08: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
Bryan Housel 524c093f68 Move traffico to asset path, reorganize id.js init after context definition 2016-02-08 14:15:05 -05:00
Bryan Housel a9389b6773 update to traffico-release-0.1.26 2016-02-07 23:41:51 -05:00
Bryan Housel 077aa65a29 remove RoundedProjection 2016-02-07 21:32:14 -05:00
Bryan Housel 99972bbc1b Rebase to 1.8.5 and update api keys 2016-02-07 01:05:53 -05:00
Bryan Housel 4ffabf8933 Mapillary code cleanup 2016-02-07 01:05:20 -05:00
Bryan Housel d22a3ea2d0 jshint, style, fix test harness 2016-02-07 01:02:23 -05:00
peterneubauer c1a73b1edc less data for now 2016-02-07 01:02:23 -05:00
peterneubauer 63d4047f02 not zooming, revealing the render bug 2016-02-07 01:02:23 -05:00
peterneubauer 1cf08ec49d removing traffico 2016-02-07 01:02:23 -05:00
peterneubauer 3947053bd7 -testing to fix initial sign render problem 2016-02-07 01:02:22 -05:00
peterneubauer 999870c652 intermediate commit 2016-02-07 01:02:22 -05:00
peterneubauer d970e4463c making click events work 2016-02-07 01:02:22 -05:00