Commit Graph

1151 Commits

Author SHA1 Message Date
Ansis Brammanis
faecda854e Improve inspector-forced panning 2013-01-18 13:04:42 -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
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
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
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
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
Tom MacWright
f66535f068 Fix tests 2013-01-17 13:14:46 -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
d550eda443 Remove pointer-events from tooltips to keep them from disappearing. 2013-01-17 12:17:45 -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
Tom MacWright
bb5f400afa Merge branch 'master' of github.com:systemed/iD 2013-01-17 10:16:51 -05:00
Tom MacWright
3d10a00284 Higher-contrast shared vertices 2013-01-17 10:16:39 -05:00
Tom MacWright
9fde1ae483 Merge branch 'master' of github.com:systemed/iD into tooltips 2013-01-17 10:16:01 -05:00
Tom MacWright
0c643b9de4 Merge pull request #413 from bdon/master
taginfo api
2013-01-17 05:42:38 -08:00
Brandon Liu
48d93f2f38 tag autocomplete can filter keys by element type. 2013-01-16 23:20:56 -08:00
Brandon Liu
349935b381 Fix build. 2013-01-16 22:32:10 -08:00
Tom MacWright
eecc6b14fb First shot at tooltips cc @samanbb 2013-01-16 18:39:12 -05:00
Tom MacWright
d8a587631b Fix TypeError from race condition between resetting and using
transforms.
2013-01-16 17:37:57 -05:00
Tom MacWright
1c757a7c20 Improve background cache logic. Fixes #411 2013-01-16 17:36:45 -05:00
Tom MacWright
ad6de1437f Prevent typeahead from falling off length of list 2013-01-16 15:01:21 -05:00