Commit Graph

1334 Commits

Author SHA1 Message Date
Bryan Housel
239abdf4e7 Better save and restore map state when entering walkthrough
(should cut down on errant edits in Three Rivers, MI)
2015-12-10 14:02:16 -08:00
Bryan Housel
00b426e951 Add snake_case field property (closes #2867)
The vast majority of tag values in OSM should be automatically snake_cased
(e.g. `amenity=place_of_worship`)
But there are a few exceptions, e.g. fields expected to include a unit
(e.g. `maxstay=1 day`)
So this allows a ui field to set whether or not to automatically snake_case
2015-12-09 13:46:30 -08:00
Bryan Housel
6f6a250483 Use Maki dentist icon 2015-12-08 00:04:49 -08:00
Bryan Housel
e06d0cbca6 Merge pull request #2853 from openstreetmap/no-roundcoords
Eliminate rounding causing jumpiness and loss of precision
2015-12-07 23:39:21 -08:00
Bryan Housel
b892b8c156 Adjust to new taginfo wiki_pages API call (closes #2844)
Also decouple tag_reference.js from taginfo.js service
(no need to have special callback semantics just to retry the call w/o value)
2015-12-02 11:44:00 -05:00
Bryan Housel
f6529cac39 Eliminate rounding causing jumpiness and loss of precision (closes #2849) 2015-12-01 11:39:26 -05:00
Bryan Housel
0e203c60cf Merge pull request #2841 from openstreetmap/best-imagery
Prefer imagery marked as `best` in editor-imagery-index
2015-11-24 23:43:17 -05:00
Bryan Housel
e626d08b58 Don't transform gpx layer, as it is attached to tiles container
This was adding an extra scale transform to the gpx layer, but only while minimap zooming
2015-11-24 14:20:58 -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
Brian Reavis
13f0ceda3e Support for multiple overlays in minimap + fix for #2813 2015-11-10 12:03:13 -07:00
Bryan Housel
0b1abc5c4f Make 100% brightness the default (closes #2824) 2015-11-05 16:12:49 -05:00
Bryan Housel
d8e627b9b1 Translate operations icons rather than adding x,y attributes to the symbol
(Internet Explorer ignores the x,y attributes)
2015-11-05 10:43:06 -05:00
Bryan Housel
eb88b67673 CSS styling for all preset icons 2015-11-04 10:47:28 -05:00
Bryan Housel
d5a239159f Workarounds for Maki 2015-11-03 21:09:30 -05:00
Bryan Housel
d729795049 Use svg for maki also 2015-11-03 16:43:22 -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
27439208b1 Restore iD-sprite preset icons 2015-10-30 16:23:08 -04:00
Bryan Housel
53deaad7af Restore preset-icon-frame 2015-10-30 15:32:02 -04:00
Bryan Housel
aa91ff49f8 Icons for operations, turn restrictions, bug/translate (closes #2766) 2015-10-30 14:06:29 -04:00
Bryan Housel
d5dcc1ff1a More cleanups to iD-sprite and styles, remove old png and json files 2015-10-29 23:18:21 -04:00
Bryan Housel
a6b83ef27f WIP: working svg sprite, import to defs, icons stylizable by css 2015-10-23 19:03:12 -04:00
Bryan Housel
9f6f49bcb9 Use unicode characters for forward/backward buttons, not images 2015-10-22 16:11:36 -04:00
Bryan Housel
0aa899a580 Fix turn restrictions involving circular ways (closes #2807) 2015-10-20 22:52:39 -04:00
Martin Raifer
b980c40dab fetch proper tag-references for relation types in raw tag editor
relation types need to be fetched from a dedicated taginfo endpoint.

fixes #2797
2015-10-08 08:40:27 +02:00
Bryan Housel
0543f684d2 Handle multipolygons - use outer for linestring perimeter (re: 2789) 2015-09-28 17:02:54 -04:00
Bryan Housel
19e1c47e53 Use LineString when calculating perimeter (closes #2789) 2015-09-28 15:51:21 -04:00
Bryan Housel
b96afcf132 Merge pull request #2688 from 1ec5/wikipedia-2682
Switch Wikipedia list to osmlab/wmf-sitematrix
2015-09-27 23:14:27 -04:00
Bryan Housel
48819b9db0 Skip iD.ui.cmd for 'f11' fullscreen 2015-09-27 21:37:48 -04:00
Bryan Housel
b365a2062c Handle multi-character keys in iD.ui.cmd (closes #2786) 2015-09-27 21:28:04 -04:00
Bryan Housel
51ad6d006c Disable save button when changeset comment is empty (closes #1488) 2015-09-18 11:55:09 -04:00
Bryan Housel
dc9f29fd09 Use stricter regex for localized field key (closes #2658)
Now it will no longer match `old_name`
2015-09-18 10:22:39 -04:00
M1dgard
5f2d136cc8 Merge branch 'master' of github.com:openstreetmap/iD into value-docs 2015-09-08 16:51:10 +02:00
M1dgard
9248ad7d5b Make raw tag editor show docs for key=value (closes #2754)
instead of just key.

* Pass the value to iD.ui.TagReference in the `context` function of iD.ui.RawTagEditor
* Let iD.taginfo query the docs for the key when its callback returns false.
* Let the callback function defined inside iD.ui.TagReference return false when both of these are met:
  * it isn't happy with the docs results AND
  * it was called with its softfail argument set to true.
2015-09-08 12:04:19 +02:00
Bryan Housel
522e593f11 Improvements to access field (closes #2763) 2015-09-08 00:03:34 -04:00
Bryan Housel
594b4c19cf Disable fullscreen button, add keyboard shortcuts 2015-09-05 23:11:11 -04:00
Bryan Housel
93e2e6ab94 Merge branch 'full-screen-mode' of https://github.com/PaulAnnekov/iD into PaulAnnekov-full-screen-mode 2015-09-05 09:20:22 -04:00
Bryan Housel
df2fcb82fa Replace 'X' with Cancel button on save panel (closes #2378) 2015-07-30 14:03:31 -04:00
Bryan Housel
11c009ee70 Add bicycle=dismount access option (closes #2726) 2015-07-27 16:17:43 -04:00
Paul Annekov
739876de99 Images to sprite, fixed tooltip position, fixed spinner position if fullscreen is not supported 2015-07-23 22:30:14 +03:00
Paul Annekov
fb1af6afe3 Added icons, changed button style. 2015-07-22 00:14:48 +03:00
Minh Nguyễn
042bb7fb24 Fixed lint errors 2015-07-15 08:57:45 -07:00
Paul Annekov
8a933a5fa5 Moved the button, updated text 2015-07-11 20:42:46 +03:00
Paul Annekov
1a3c75da2b Added ability to exit from full screen 2015-07-11 20:26:50 +03:00
Paul Annekov
61ac67ac6c Added tooltip, cross browser requestFullScreen call and key binding 2015-07-11 10:21:49 +03:00
Paul Annekov
24802c9399 Added button to switch to full screen mode 2015-07-10 23:44:03 +03:00
Bryan Housel
b785b906b4 Put success close click handler on button, not span (closes #2717) 2015-06-30 15:33:27 -04:00
Bryan Housel
60fdb60a8a Refactor validations 2015-06-19 14:58:09 -04:00
Bryan Housel
8398fd7cf1 Fetch missing childnodes when restoring from localstorage
(see #2142)
TODO: fetch older version if the node has been deleted.
2015-06-18 09:56:11 -04:00
Bryan Housel
4c3ebbec2b Merge branch 'rhokbrisbane-keyboard_shortcuts' 2015-06-17 00:55:32 -04:00