16273 Commits

Author SHA1 Message Date
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
020c56b3a2 Move Entity#intersects test 2013-01-18 14:44:28 -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
efd829e396 Merge branch 'master' into labels
Conflicts:
	js/id/renderer/map.js
	js/id/svg/lines.js
2013-01-18 17:19:12 -05:00
Ansis Brammanis
d70b5c3891 Add rtree to index.html 2013-01-18 17:01:41 -05:00
Ansis Brammanis
9e784b6bc9 mostly working path and point labelling 2013-01-18 16:34:41 -05: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
abb5d83d9c Add amenity=parking rendering 2013-01-17 21:10:30 -08:00
John Firebaugh
c5afec0f98 Add leisure=park rendering 2013-01-17 21:03:25 -08:00
John Firebaugh
a8cd845831 Use area cursors for multipolygons for now 2013-01-17 20:50:58 -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
d40c645170 Fix packaged tests 2013-01-17 16:32: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
feab67349e fix buttons. 2013-01-17 19:29:35 -05: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
John Firebaugh
d2921caf6c Fix build 2013-01-17 15:57:51 -08: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
2c6e244fb0 Add tests for iD.svg.Lines 2013-01-17 15:17:40 -08: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
7df1a00f38 Fix hash tests 2013-01-17 18:13:16 -05: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
Ansis Brammanis
8a84dd4c8e start label styles and positioning 2013-01-17 16:10:01 -05: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
Ansis Brammanis
9c007e24e3 Start work on label rendering 2013-01-17 15:14:22 -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
8564279926 Use identity projection in tests 2013-01-17 11:57:29 -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
cfc5ad6c02 Merge pull request #419 from systemed/warnings
Warnings
2013-01-17 11:54:18 -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
f0e6ec6659 Finish tests for new geo functionality 2013-01-17 13:53:52 -05:00
Tom MacWright
1a81a8508a Fix mocha globals for window event listener 2013-01-17 13:21:03 -05:00