Commit Graph

539 Commits

Author SHA1 Message Date
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
peterneubauer
717d956a30 adding traffico and the sign layer 2016-02-07 01:02:22 -05:00
peterneubauer
ea819c0d09 adding a first traffic sign layer, rendering not working properly yet. 2016-02-07 01:02:22 -05:00
Kushan Joshi
4f328f6bfb change http to https
(closes #2960)

Interim
2016-02-04 21:42:38 +05:30
Bryan Housel
a393248b37 Add iD.Map#redrawEnable to enable/disable redraws 2016-01-06 00:12:15 -05:00
Bryan Housel
63ab1e1267 Adjust matching rules for multipolygon members (closes #2887) 2016-01-04 12:07:12 -05:00
Bryan Housel
46a642ac96 WIP for 2887, and perf improvements (avoid unnecessary caching) 2015-12-31 21:03:03 -05:00
Bryan Housel
226b73fd48 Don't call childNodes unless necessary (avoid extra _childNodes caching)
`hasHiddenConnections` was calling it for all features, inluding points and
vertices, causing _childNodes to have a lot of unnecessary keys added to it.
2015-12-22 12:03:08 -05:00
Bryan Housel
9bc52598df Replace nonstandard Arrayfind with _.find (closes #2871) 2015-12-11 13:06:42 -08:00
Bryan Housel
f6529cac39 Eliminate rounding causing jumpiness and loss of precision (closes #2849) 2015-12-01 11:39:26 -05:00
Bryan Housel
e5cd08a349 Prefer imagery marked as best (closes #2826)
* Sorts the imagery at the top of the background list
* Pick automatically if the url hash doesn't have another imagery chosen
* also fixes #1310
2015-11-23 21:15:48 -05:00
Bryan Housel
3853c0d993 Fix the rest of the icons (leave walkthrough graphics alone for now) 2015-11-02 20:46:08 -05:00
Bryan Housel
7a9acd84ee Restore almost all of the rest of the icons throughout the UI 2015-10-31 01:38:39 -04:00
Bryan Housel
701731485e Less strict polygon intersection test in findOuter (closes #2755) 2015-09-01 14:48:40 -04:00
Bryan Housel
58cb66f472 Add highway=corridor and universal level field
For now, `highway=corridor`:
  * styled like highway=pedestrian
  * and matches 'paths' feature filter.

(closes #2687, closes #2218)
2015-06-30 22:02:22 -04:00