Commit Graph

412 Commits

Author SHA1 Message Date
John Firebaugh
3d210ac3c1 Implement basic restriction toggling 2014-05-18 16:02:47 -07:00
John Firebaugh
26422d9c9a Show ways in restriction editor as if they were split 2014-05-18 16:02:47 -07:00
John Firebaugh
f39ae89177 Render turns of selected way 2014-05-18 16:02:47 -07:00
John Firebaugh
7cac179ce0 Start work on turn restriction editing field 2014-05-18 16:02:46 -07:00
John Firebaugh
be0126aba6 Extract iD.svg.Defs from Surface
Need to have a single defs for the entire document but
multiple Surfaces.
2014-05-18 16:02:46 -07:00
John Firebaugh
90bc8dd70a Extract iD.geo.RawMercator 2014-05-18 16:02:46 -07:00
John Firebaugh
95edc5ff03 Fix up defaultcheck field type
It now works as determinate checkbox, where a checked
state produces *=yes and an unchecked state produces no
tag.
2014-04-15 16:33:43 -07:00
John Firebaugh
8ec53185df Build iD.Way.areaKeys from presets
This eliminates the possibility that a feature will
flip from area to line when you apply a preset.

Fixes #1996
2013-11-21 13:53:06 -08:00
Aaron Lidman
43aeaae67e Add SuggestNames util 2013-11-01 16:52:37 -07:00
John Firebaugh
ce0b9b4633 Add IE standards incantations 2013-10-25 13:02:59 -07:00
Aaron Lidman
ab1b6a508a Multiselection list UI 2013-10-15 18:30:30 -04:00
John Firebaugh
81bc280aba More reliable method for mutexed localStorage saves
Fixes #1883
2013-10-10 14:59:48 -07:00
Paul Mach
b8efb00cfc Add straighten way operation and action 2013-09-20 12:14:16 -07:00
John Firebaugh
156aa90e27 Add more turn logic 2013-08-30 19:27:21 -07:00
John Firebaugh
405a49506b Building logic for turn restrictions 2013-08-30 14:23:05 -07:00
John Firebaugh
8a215cac81 Add "Continue" operation 2013-08-28 09:30:28 -07:00
John Firebaugh
11e2f1d1fe Merge geocoder into feature search UI 2013-07-25 19:24:07 -07:00
Vladimir Agafonkin
454eecae8f replace RTree with RBush 2013-07-21 17:20:14 +03:00
John Firebaugh
734d53e08b Refactor background in preparation for multiple overlays 2013-07-15 14:05:11 -07:00
John Firebaugh
bba761d8ea size -> dimensions
D3 3.2 adds selection.size, where size means "number
of selected elements".
2013-06-20 13:05:20 -07:00
John Firebaugh
d2e2d4fbed Avoid resetting input values on every change
For some reason this invalidates and repaints the
entire page.
2013-06-19 17:05:03 -07:00
John Firebaugh
98072bdd27 Use minzoom behavior in all appropriate modes
Fixes https://github.com/systemed/iD/issues/1599#issuecomment-19568483
2013-06-17 14:43:16 -07:00
John Firebaugh
467d01d339 First pass at "Add to Relation" (#1539) 2013-06-05 11:22:00 -07:00
John Firebaugh
a1d7d05155 Feature List (#1545) 2013-06-04 10:37:24 -07:00
John Firebaugh
eebd9aa030 Remove unused 2013-06-03 15:30:23 -07:00
John Firebaugh
3a7c184e69 Move the save dialog to the sidebar 2013-05-29 17:47:33 -07:00
John Firebaugh
f9f72be9c8 Extract iD.actions.ChangePreset 2013-05-28 17:41:26 -07:00
John Firebaugh
1e8052182d Merge pull request #1247 from systemed/create-multipolygon
ability to create multipolygons
2013-05-28 16:56:22 -07:00
John Firebaugh
884d2d0732 Add hover indicator in sidebar 2013-05-26 14:07:10 -07:00
John Firebaugh
76eb0fca85 Extract iD.ui.ViewOnOSM 2013-05-23 14:59:38 -07:00
John Firebaugh
9c86e2a86c Display relation members and memberships in inspector
* Preset icon of relation/member
* Preset name of relation/member
* Name of relation/member
* Role
* Delete button

All currently unstyled.
2013-05-22 17:41:59 -07:00
John Firebaugh
cac654e8ab Add iD.actions.ChangeMember 2013-05-22 17:41:06 -07:00
John Firebaugh
4ae4b33663 Extract iD.ui.Disclosure 2013-05-22 16:51:18 -07:00
John Firebaugh
ebadc90ac7 Rename Taglist -> RawTagEditor 2013-05-22 16:51:18 -07:00
John Firebaugh
b70b287dee Rename TagEditor -> EntityEditor
It's going to be used to edit relation memberships as well
as tags.
2013-05-22 12:16:57 -07:00
John Firebaugh
413b7abcb9 Improve tag reference loading feedback (#1262) 2013-05-22 11:13:54 -07:00
John Firebaugh
fb01868a3c PresetGrid -> PresetList 2013-05-22 10:22:15 -07:00
John Firebaugh
3249487632 Extract TagReferenceButton 2013-05-22 09:32:47 -07:00
John Firebaugh
d238e4eaeb Convert Tail to a behavior
This avoids an extra mousemove listener in base modes.
2013-05-14 17:51:24 -07:00
John Firebaugh
fd1573fa08 Abandon iD.svg.MemberClasses
Substantial performance hit for something that's barely used.
2013-05-13 12:46:01 -07:00
John Firebaugh
0ae54abdcc Extract iD.actions.DiscardTags 2013-05-13 09:26:41 -07:00
John Firebaugh
d247962324 Handle incomplete relations in simpleMultipolygonOuterMember 2013-05-01 10:28:40 -07:00
John Firebaugh
275696caaa Fix icons for lines that use maki (fixes #1371)
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
19e21e1d26 Modify window.focus canary
I suspect whatever is doing the modification is swallowing
exceptions.
2013-04-23 13:45:10 -07:00
John Firebaugh
61802674a4 Don't need keys in dist build 2013-04-22 14:45:54 -07:00
John Firebaugh
d66760326b Load translations on demand (fixes #1337) 2013-04-22 14:29:43 -07:00
John Firebaugh
aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
Ansis Brammanis
21c89f22dc export line preset sprite straight from inkscape
We could also use an svg sprite, just swapping the
one line in line-presets.css, but it seemed to
make scrolling the preset grid significantly
less smooth in Firefox.
2013-04-19 12:27:57 -04:00
John Firebaugh
ab56cc5207 Clean up how OAuth keys are handled
Connection defaults to osm.org URL and keys for the simple
case. Customization is done via connection.switch().

Externalize SourceSwitch's use of iD.data.keys.
2013-04-17 17:43:25 -07:00