Commit Graph

953 Commits

Author SHA1 Message Date
Ansis Brammanis
28cea97019 fix regression, rename Apply to Close in inspector 2013-01-19 21:12:53 -05:00
John Firebaugh
e5407fa49d Improve highway rendering; render halo in a separate layer 2013-01-19 18:07:39 -08:00
Brandon Liu
5ab7cbb643 Fix opening tag help in Firefox.
Remove anchor tag, attach click event to tag help button.
2013-01-19 14:43:39 -08:00
Brandon Liu
0751dc4ba1 Clean up dead code in inspector. 2013-01-19 11:08:32 -08:00
John Firebaugh
5279839ca4 Highway rendering test page
Removing the top-level clip-rect to make this work;
it doesn't seem necessary?
2013-01-19 08:26:13 -08:00
Saman Bemel-Benrud
6c7f9d41b7 minor fixes + adding geolocate icon. 2013-01-18 18:52:56 -05:00
John Firebaugh
3d98fdd0c5 Merge branch 'gridify' 2013-01-18 15:19:35 -08:00
Saman Bemel-Benrud
4f90921d1e total style overhaul. 2013-01-18 18:08:43 -05:00
John Firebaugh
2b45a5b452 Use sinon's fake timers 2013-01-18 15:00:50 -08:00
John Firebaugh
e19f86a285 Add newly split way to member relations 2013-01-18 14:44:29 -08:00
John Firebaugh
f16c54e12f Match argument order with AddRelationMember 2013-01-18 14:44:29 -08:00
John Firebaugh
2ee07a3b74 Add iD.actions.AddRelationMember 2013-01-18 14:44:29 -08:00
John Firebaugh
2a0ef21548 Fix restriction handling 2013-01-18 14:44:29 -08:00
John Firebaugh
95800741fd Add some utility methods to Way 2013-01-18 14:44:29 -08:00
John Firebaugh
b27903f7b5 Add Relation#isRestriction 2013-01-18 14:44:28 -08:00
John Firebaugh
3349e1f69c Add some utility methods to Relation 2013-01-18 14:44:28 -08:00
John Firebaugh
fe8239b81e Rewrite tests 2013-01-18 14:44:28 -08:00
John Firebaugh
ce6e11a8a0 Test copying tags to the split way 2013-01-18 14:44:28 -08:00
Ansis Brammanis
faecda854e Improve inspector-forced panning 2013-01-18 13:04:42 -05:00
saman bb
0246f2c5dd style / layout refactoring 2013-01-18 01:17:08 -05:00
John Firebaugh
c5afec0f98 Add leisure=park rendering 2013-01-17 21:03:25 -08:00
saman bb
1de76aea56 resolve merge 2013-01-17 22:27:25 -05:00
John Firebaugh
bf251dce15 Handle incomplete relations 2013-01-17 17:37:50 -08:00
John Firebaugh
e933b9d088 Include parent relations recursively
Fixes drawing when dragging a multipolygon vertex.
2013-01-17 16:32:20 -08:00
Saman Bemel-Benrud
a4557af225 remove save icon. 2013-01-17 19:12:07 -05:00
Saman Bemel-Benrud
ae1220726b resolved conflict 2013-01-17 19:03:19 -05:00
Tom MacWright
020a10177a Merge branch 'master' of github.com:systemed/iD 2013-01-17 18:20:57 -05:00
Tom MacWright
1c21b2a381 Fix up bbox extent link 2013-01-17 18:20:24 -05:00
John Firebaugh
3eaf4a46e0 Add CSS classes for relation memberships
An entity that is a member of a relation will have the classes
`member`, `member-role-<member role>`, and `member-type-<relation type>`.

The first use of these classes is to avoid filling multipolygon
member areas.
2013-01-17 15:17:40 -08:00
Tom MacWright
8c051dc801 Add centerZoom to center and zoom the map with one redraw. Fixes #416
Also throttles redraw and make hash track the map faster.
2013-01-17 18:05:48 -05:00
John Firebaugh
9abe3af312 Fix extent and difference rendering for multi polygons 2013-01-17 14:27:01 -08:00
John Firebaugh
5a2444b551 Extract and fix extent/intersection calculations
Extents are now [[min x, min y], [max x, max y]].
2013-01-17 14:27:01 -08:00
Tom MacWright
6594699276 Stray console 2013-01-17 15:24:22 -05:00
Tom MacWright
0ff96cd618 Merge branch 'master' of github.com:systemed/iD 2013-01-17 15:20:52 -05:00
Tom MacWright
81d4036322 Smarter contributors box, links to history when truncated. Fixes #306 2013-01-17 15:20:16 -05:00
John Firebaugh
9a76b81125 First cut on multipolygon rendering 2013-01-17 11:57:30 -08:00
John Firebaugh
545789efcc More area tests 2013-01-17 11:57:30 -08:00
John Firebaugh
f64c2df17f Return null rather than empty string
Empty string still generates the error 'Problem parsing d=""',
while null results in no 'd' attribute at all.
2013-01-17 11:57:29 -08:00
John Firebaugh
e24b22b518 Extract iD.svg.LineString 2013-01-17 11:57:29 -08:00
John Firebaugh
9f1506af5e Always use rounded projection 2013-01-17 11:57:29 -08:00
Tom MacWright
9b21fae8cb Validation. This adds basic validation and display to commits
Included is

* Untagged POIs, ways, areas
* Tags that suggest that lines should be areas
2013-01-17 14:46:39 -05:00
Tom MacWright
feea5065e2 Do not permit values longer than 255 chars in the inspector 2013-01-17 14:18:49 -05:00
Tom MacWright
87c8fbdb2f Remove unreachable code in connection.
This unfortunately prevents loadFromURL from sharing the queue and
cancelling functionality of bboxes
2013-01-17 12:49:43 -05:00
Tom MacWright
36a6c2ffea Merge pull request #417 from systemed/tooltips
Tooltips
2013-01-17 09:35:22 -08:00
Ansis Brammanis
ae37003852 prefer taginfo suggestions that startwith input 2013-01-17 12:32:11 -05:00
Tom MacWright
e111ea2aa5 Gracefully handle Opera, which does not support pointer-events 2013-01-17 12:22:11 -05:00
Tom MacWright
fd2ef2a78b Rename tooltip to tail, use tail in modes. 2013-01-17 12:07:26 -05:00
Tom MacWright
061e81d14a Merge branch 'master' into tooltips 2013-01-17 11:32:37 -05:00
Ansis Brammanis
b8d9741959 Only update inspector tag list when necessary 2013-01-17 10:48:42 -05:00
Tom MacWright
cdbe3d6168 Fix removal of elements on undo. Fixes #410 2013-01-17 10:44:12 -05:00