Commit Graph

766 Commits

Author SHA1 Message Date
Bryan Housel 1f826851b2 Make tileCenter return the point actually at the tile center
Then use css to adjust the position of the debug div
2017-07-03 16:03:41 -04:00
Bryan Housel b9df6df03f Imagery vintage improvements:
- Cache vintage lookups from Bing API
- Actually sample a tile at the center of the viewport,
  rather than just divinding tiles/2 (not a good guess)
- Refactor the start-end range code into one place
2017-07-03 15:12:59 -04:00
Bryan Housel 39621f99fa Add a show/hide tiles toggle button, position buttons relatively 2017-07-03 11:24:39 -04:00
Bryan Housel 7df458e4df Display imagery vintage when tile debugging is enabled.. 2017-07-02 10:21:46 -04:00
Bryan Housel 54a8ae439a Include start/end imagery dates from editor-layer-index 2017-07-01 02:31:08 -04:00
Bryan Housel c669bc72cd Move imagery info from location panel to its own panel 2017-07-01 02:04:59 -04:00
Bryan Housel 0d27743b81 Improve formatting for imagery capture dates 2017-07-01 00:47:16 -04:00
Bryan Housel 150985a57d Fetch imagery vintage from Bing source, add info to location panel 2017-06-30 18:52:17 -04:00
Bryan Housel 946432d6f1 Add history panel
(closes #2273)
(closes #3761)
2017-06-30 02:09:56 -04:00
Bryan Housel b6c2645409 Add history urls to osm service and more URL tests 2017-06-30 00:52:05 -04:00
Bryan Housel 92a057bf3c git mv modules/ui/info -> modules/ui/panels 2017-06-29 23:05:14 -04:00
Bryan Housel fdd6b329a8 Get changeset, timestamp, uid for all elements; changeset_count for users 2017-06-29 22:02:54 -04:00
Bryan Housel 79466e2893 Display reverse geolocated location in location panel
(closes #2515)
2017-06-29 01:24:09 -04:00
Bryan Housel 1c303edf18 Add generic reverse geocoder function to nominatim service 2017-06-29 01:23:33 -04:00
Bryan Housel 9a0deaa484 Rename widget -> panel 2017-06-28 22:34:03 -04:00
Bryan Housel ece73a9be4 Infobox ⌘I now toggle all widgets 2017-06-28 17:21:15 -04:00
Bryan Housel 991eb58bcc Remove unused singularKey 2017-06-28 17:17:34 -04:00
Bryan Housel b12fad8d97 Remove code that prevented draws, report all numbers at OSM precision 2017-06-28 16:24:47 -04:00
Bryan Housel f2d0662266 Add location widget
(closes #2183)
2017-06-28 16:10:46 -04:00
Bryan Housel 07190958a5 Force redraw of measurement box when switching between imperial/metric 2017-06-27 14:09:19 -04:00
Bryan Housel 01fe0db42a Add close 'x' to infobox 2017-06-27 01:54:45 -04:00
Bryan Housel 5b95246157 Adjust styles, don't redraw measurement info if infobox is hidden 2017-06-26 23:19:50 -04:00
Bryan Housel 22c707a6e2 Make infobox a container for widgets, measurement code a widget 2017-06-26 21:10:47 -04:00
Bryan Housel e1f88f4a18 WIP towards multi-pane info box 2017-06-24 22:26:14 -04:00
Bryan Housel e8bd6bff6c Fix wikidata clearing, failed lookup when entity no longer selected
(closes #3987)
(closes #3684)
(related #3929)
2017-06-23 16:37:13 -04:00
Bryan Housel 6ca649498f Add walkthrough=true url parameter to auto-start the walkthrough
(closes #4111)
2017-06-22 22:26:38 -04:00
Bryan Housel ec8cd6ec83 More words about replacement tokens in custom tile url prompt
(see #3887)
2017-06-22 21:57:26 -04:00
Bryan Housel 9882cf1d7b Don't rm old preset tags post merge, but do rm area=yes when setting preset
(closes #4114)
2017-06-22 17:49:45 -04:00
Bryan Housel 894bd615c9 Preserve the undo annotation when doing point-area merge
(closes #4113)
2017-06-21 18:56:45 -04:00
Bryan Housel 90870a0eb9 Use a simpler custom imagery example url
see https://github.com/openstreetmap/iD/issues/3887#issuecomment-309849685
2017-06-20 15:06:57 -04:00
Bryan Housel eff9aaeceb Add example to custom url template prompt
(closes #3887)
2017-06-20 00:38:49 -04:00
Bryan Housel c961788a5b Fix translation for imagery with a '.' in the id
(closes #4112)
2017-06-19 23:35:34 -04:00
Bryan Housel f19c879aba Mention keyboard shortcuts in intro, localize Alt key 2017-06-18 02:30:31 -04:00
Bryan Housel dcf4fea450 Use localized background switching key shortcut in tooltip 2017-06-18 00:31:45 -04:00
Bryan Housel 22cb4c7f20 Add ability to localize more keyboard shortcuts
(closes #4081)

H: Help
?: Keyboard Shortcuts
⌘I: Infobox
B: Background
⌘B: Switch Background
F: Map Data
W: Wireframe
/: Minimap
2017-06-18 00:17:44 -04:00
Bryan Housel 8f6bd5fb14 Show icons from the editor-layer-index, remove old Bing icon 2017-06-16 12:04:54 -04:00
Bryan Housel 87b17a2fbb Add translation for attribution text 2017-06-16 11:03:30 -04:00
Bryan Housel 3d208311bd Change imagery Transifex to YAML, use translated name and description 2017-06-16 00:51:04 -04:00
Bryan Housel 5c3f407573 2.2.2 2017-06-12 11:04:11 -04:00
Bryan Housel e9568e8845 Don't exit drawing mode on hashchange unless the user has moved a lot
(Switching background while drawing a line was causing the line to get
cancelled because of returning to browse mode)
(closes #4099)
2017-06-12 02:04:22 -04:00
Bryan Housel 7030c15d0c Try again to fix fullscreen keyboard shortcut on linux 2017-06-10 17:44:17 -04:00
Bryan Housel ba8b0782b0 pacify eslint 2017-06-10 08:13:55 -04:00
Bryan Housel addc3be4da Only offer the ⌃⌘F shortcut for fullscreen if the user is on a mac 2017-06-10 08:09:49 -04:00
Bryan Housel 8c2775276e Fix fullscreen shortcut on Mac, add F11 to the shortcuts screen
(see https://github.com/openstreetmap/iD/issues/4081#issuecomment-307475720)
2017-06-09 22:37:44 -04:00
Bryan Housel d20e053057 Add missing vertex navigation keys '{' and '}' 2017-06-09 12:46:40 -04:00
Bryan Housel 2d665dbc1b Ignore Ctrl and Alt if both are present (e.g. AltGr on Windows)
(see #4096)
2017-06-09 11:42:35 -04:00
Bryan Housel 70d0a68c6d Use context.asset() to generate path to Mapillary image sprite 2017-06-09 10:53:48 -04:00
Bryan Housel 274552205d Merge pull request #4050 from mapillary/mapillary-api-v3
Update to Mapillary API v3 and add new traffic signs
2017-06-09 10:37:30 -04:00
Bryan Housel 2b8058cf89 Add a menu item to the help pane to show keyboard shortcuts
(closes #4079)
2017-06-08 22:38:04 -04:00
Bryan Housel 5326377292 silence eslint warning 2017-06-08 13:27:55 -04:00