Commit Graph

930 Commits

Author SHA1 Message Date
Ansis Brammanis
faecda854e Improve inspector-forced panning 2013-01-18 13:04:42 -05:00
John Firebaugh
c5afec0f98 Add leisure=park rendering 2013-01-17 21:03:25 -08: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
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
Tom MacWright
9fde1ae483 Merge branch 'master' of github.com:systemed/iD into tooltips 2013-01-17 10:16:01 -05:00
Brandon Liu
48d93f2f38 tag autocomplete can filter keys by element type. 2013-01-16 23:20:56 -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
Tom MacWright
ef1af7a731 Only show tags that appear in greater than a percentage of cases. 2013-01-16 14:51:34 -05:00
Tom MacWright
140e6991ed Stack areas as well as ways. Fixes #409 2013-01-16 14:21:20 -05:00
Tom MacWright
6407fa464c Run intersection on difference changes, do not use compact. Fixes #334 2013-01-16 14:06:11 -05:00
Tom MacWright
0e9e14102e Cache fetch results, higher features limit 2013-01-16 13:54:53 -05:00
Tom MacWright
199584fbff Name drawing functions so we can profile them 2013-01-16 13:54:36 -05:00
Tom MacWright
8151b48d34 Request tiles at z15 rather than z16 2013-01-16 13:26:20 -05:00
Ansis Brammanis
cb8dedf2c0 Fix element drag mousedown is listening to 2013-01-16 13:16:59 -05:00
Tom MacWright
8def2e0999 Remove style and references to it 2013-01-16 13:07:30 -05:00
Tom MacWright
6aae64bd62 Add waystack, fix bridge coloring 2013-01-16 13:06:01 -05:00
Tom MacWright
396896eec2 Merge branch 'master' of github.com:systemed/iD 2013-01-16 12:52:19 -05:00
Tom MacWright
e3775844c8 Refactor lines, keep non-scoped fns out of scope 2013-01-16 12:52:06 -05:00
Ansis Brammanis
a9de2500aa Fix undo right after drawing line or area 2013-01-16 12:43:29 -05:00
Tom MacWright
87c341d7e0 Fix jshint problems. 2013-01-16 12:39:35 -05:00
Ansis Brammanis
a980695ee7 Avoid creating lines with < 2 nodes (or areas < 3) 2013-01-16 12:20:35 -05:00
Ansis Brammanis
fc272199c7 Fix difference 2013-01-16 11:34:50 -05:00
Ansis Brammanis
0a1e16a319 Nodes with changed parents added to difference 2013-01-16 11:31:36 -05:00