Commit Graph

517 Commits

Author SHA1 Message Date
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
Bryan Housel 6aa4b3a873 Merge branch 'keyboard_shortcuts' of https://github.com/rhokbrisbane/iD into rhokbrisbane-keyboard_shortcuts 2015-06-15 22:32:20 -04:00
Rowan Hogan 336f7420e5 Merge branch master into add-task-outline-to-minimap 2015-06-15 10:14:07 +10:00
Rowan Hogan 42c99a4400 Merge branch 'master' into keyboard_shortcuts 2015-06-15 10:12:31 +10:00
Denys Digtiar be1e3738f1 Error handling is added to the GPX loading callback.
Previously erroneous response was corrupting the GpxLayer, which could
potential corrupt the whole Map, if user were to use 'Zoom to GPX'
feature. Callback logic is wrapped in the error guard to fix this.
2015-06-14 16:46:20 -07:00
Rowan Hogan 5c860be877 Moved minimap gpx layer methods to the background gpx layer handlers 2015-06-14 12:37:37 +10:00
Rowan Hogan 9aa1ffa227 Adds increased zoom keyboard shortcuts. 2015-06-13 15:24:48 +10:00
Pierre GIRAUD 71061a4f5e Better look for mapillary markers 2015-06-12 16:52:20 +02:00
Bryan Housel 00c0641f06 Make view extent include both local and remote versions of the change 2015-04-27 10:16:47 -04:00
Olaf Veerman 89b354ddba Allow overzoom to be set on overlays
The default behaviour is to overzoom overlays past their max
scaleExtent. When 'overzoom':false is defined in imagery.json,
the layer will disappear on the max scaleExtent.
2015-03-26 12:04:54 -07:00
Bryan Housel 05ff86e5c2 Prevent no-match parent relations from breaking getMatches
(e.g. a site relation with a fence in it)
Also, updated the test graph to contain one of these.
see https://github.com/openstreetmap/iD/pull/2554#issuecomment-78517442
2015-03-12 13:59:48 -04:00
Bryan Housel 3308b5507b Feature Filtering: don't match multipolygon lines as 'others'
(fixes #2548)

If the entity is a way that is a member of a parent relation,
use that parent relation's matches instead of matching 'other'
2015-03-10 00:06:29 -04:00
Bryan Housel 848d19a116 Don't cache array lengths
see https://github.com/openstreetmap/iD/pull/2489#discussion_r22489237
2015-03-09 18:02:05 -04:00
Bryan Housel 2485d74d5b Use interpolated D3 zooming for zoomIn/zoomOut 2015-03-09 16:34:07 -04:00
Bryan Housel b4cd1d67d8 Adjust double click handler for new D3 zoom behavior
D3 v3.5+ has changed the zoom behavior to emit tweened zoom events
rather than a single zoom event with a dblclick source event.
2015-03-07 15:22:37 -05:00
Bryan Housel 1f0087d133 Merge pull request #2525 from openstreetmap/conflict-resolution
Merge Conflict Resolution
2015-03-05 19:49:15 -05:00
Bryan Housel 98665fef91 Don't allow zoomTo on an entity with degenrate extent
(because sending the map to NaN/NaN/NaN is not cool)
2015-02-28 23:00:00 -05:00
Bryan Housel 29e1554d5f accessor to expose _features internals 2015-02-26 16:08:39 -05:00
Bryan Housel 861bd14903 map#trimmedExtentZoom
Like map#extentZoom, but uses trimmed viewport instead of full viewport
to avoid putting the extent under UI buttons and border elements.

This is because in conflict resolution the user will be extentZooming to see
their changes and it was annoying to have the change appear under the UI.

Also using this in zoomToGPXLayer.
2015-02-20 14:59:40 -05:00
samanpwbb d141827c3e Merge branch 'master' into conflict-resolution-ui 2015-02-06 19:08:50 -05:00
peterneubauer 2c732d5ed7 removing log 2015-02-06 10:39:42 +02:00
peterneubauer f3e9b0f434 upgrading to Mapillary API v2 cals 2015-02-06 10:37:30 +02:00
Bryan Housel ef2d6e75cf Add minzoom check to map.zoom() (closes #2499) 2015-01-13 23:09:19 -05:00