Commit Graph

3757 Commits

Author SHA1 Message Date
Bryan Housel 30dfdeb3ba Merge pull request #3128 from openstreetmap/mapillary_js
Replace static Mapillary thumbnail with mapillary-js viewer
2016-06-01 00:27:39 -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 368b861818 Allow Mapillary signs layer only if image layer is already enabled 2016-05-27 23:37:40 -04:00
Bryan Housel 0eac0ff862 Don't show thumbnail when hovering over Mapillary markers 2016-05-27 22:43:17 -04:00
Bryan Housel d13715ee81 Keep thumbnail on left
Jumpy left/right behavior is unnecessary now that centerEase works great
2016-05-27 21:38:51 -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 bcb68df977 Merge branch 'wikidata-new' 2016-05-26 16:32:59 -04:00
Bryan Housel db6234b2fc Initiate async wikidata lookup onchange only (not onblur), add tests 2016-05-26 16:16:37 -04:00
Bryan Housel 0135fbe4a6 Update async wikidata tag if graph unchanged 2016-05-25 23:43:27 -04:00
Bryan Housel 0446275091 Rename field function 2016-05-25 21:46:14 -04:00
Kushan Joshi f81ff29645 Mapillary Js, second stab 2016-05-25 15:51:36 +05:30
Bryan Housel 661c2d4a22 1.9.5 2016-05-24 20:44:22 -04:00
Minh Nguyễn 669cad74f6 Add wikidata asynchronously based on wikipedia
ref #2680
2016-05-23 19:16:02 -04:00
Bryan Housel 0cea4e9d27 Clean translated combo value when comparing to display value
(closes #3129)
2016-05-23 18:25:18 -04:00
peterneubauer 8782c1480d adding MapillaryJS, first stab. 2016-05-22 11:09:26 +05:30
Bryan Housel bd60aceaf0 Add tile debugging, redraw when debug flags change 2016-05-19 00:43:01 -04:00
Bryan Housel 9e61fae7fc Lodash version bump
Lodash version bump to 4.12
2016-05-18 14:30:48 -04:00
Bryan Housel 636ef82bc4 Use d3.interpolateRgb to make save button warning colors
(closes #2749)
2016-05-18 11:24:33 -04:00
Bryan Housel 6d64fce9f3 Merge branch 'master' of https://github.com/tanerochris/iD into tanerochris-master 2016-05-18 09:23:49 -04:00
Bryan Housel efd397b202 Cleanup space-click event handler, debounce key repeat, distance threshold
(closes #2784)
2016-05-17 15:11:59 -04:00
Kushan Joshi 6ef52256f3 Migrating to lodash v4 2016-05-17 12:37:25 +05:30
Bryan Housel 6bced5bcbd Don't try to snap new way to offscreen area
(closes #3114)
2016-05-16 23:35:14 -04:00
tanerochris 21bdfb360c Update save.js 2016-05-16 23:13:58 +01:00
tanerochris 11159eaa05 Add files via upload 2016-05-16 23:12:29 +01:00
tanerochris 6df6a463aa added a function to change save button background with a change in map edits made by users 2016-05-16 23:05:27 +01:00
Bryan Housel cd7dbdd72d For spacebar clicking, only accept events on map surface 2016-05-16 17:06:21 -04:00
Bryan Housel 5b859cdb99 Merge branch 'naturalatlas-spacebar-drawing' 2016-05-16 15:25:15 -04:00
Bryan Housel 0f17f64eca Don't call keybinding callbacks multiple times, stricter capture/bubble checks 2016-05-16 14:20:09 -04:00
Bryan Housel aa37c0e4a5 fix comment 2016-05-15 23:32:58 -04:00
Bryan Housel 2e90553288 Clear bindings array in keybinding.off
(closes #3111)
2016-05-15 23:32:06 -04:00
Bryan Housel 64b32edd13 Simpler space-to-click 2016-05-13 18:50:11 -04:00
Bryan Housel 24dabfd0cb Merge branch 'spacebar-drawing' of https://github.com/naturalatlas/iD into naturalatlas-spacebar-drawing 2016-05-13 17:26:54 -04:00
Bryan Housel 7eb964a70e Switch only phone placeholder asynchronously 2016-05-12 14:13:44 -04:00
Peter Dobratz 2d9327c5b9 phone placeholder from country being edited
Prefer to pull in phone placeholder text based on the country currently
being edited.  Fallback to using placeholder text based on user’s
locale settings.

rename phone placeholders to phone formats

add Germany example phone number

See [German Wikipedia article
E.123](https://de.wikipedia.org/wiki/E.123)

check for null in focus

check that input.node() is not null in i.focus()
2016-05-12 14:13:35 -04:00
Bryan Housel 9974aae30b Clicking on scale bar will toggle units from imperial/metric
(re: #2351)
2016-05-12 09:50:43 -04:00
Bryan Housel b2fe5744d5 Use ⌘ B for quick background switching, add tooltip, style 2016-05-12 00:52:20 -04:00
Bryan Housel 50472754a1 Merge branch 'switchbg' of https://github.com/RoPP/iD into RoPP-switchbg 2016-05-11 23:11:56 -04:00
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 3beda5cf84 Avoid entering autocomplete function if possible 2016-05-10 22:09:20 -04:00
Kushan Joshi 59ef7d93db Fix greediness of autocompletion
(closes #3077)
2016-05-10 17:30:35 +05:30
tanerochris 61c5fcc2f6 added classes to button save ,track numOfChanges 2016-05-09 18:44:44 +01:00
Bryan Housel d17f22eb7d Keep move cursor while adjusting imagery offset
(closes #3101)
2016-05-07 00:19:06 -04:00
Bryan Housel f84a8b9d20 1.9.4 2016-05-03 23:21:24 -04:00
Bryan Housel c5844540c5 Make sure all comment checks run on input and change
(fixes #3096)
2016-05-03 17:08:25 -04:00