Ansis Brammanis
5d283f0698
usecapture for stopping right click propagation
2013-01-20 19:27:20 -05:00
Ansis Brammanis
a97a4e4617
Fix redrawing shared vertices
2013-01-20 19:05:53 -05:00
saman bb
3e8780d466
making things consistent with new UI style.
2013-01-20 18:30:34 -05:00
saman bb
19c59236b9
copy adjustment on inspector confirm/close button
2013-01-20 16:12:06 -05:00
John Firebaugh
4a084a8b89
Improve midpoints rendering
2013-01-20 12:01:19 -08:00
John Firebaugh
fce209131a
Improve vertex rendering
2013-01-20 11:37:14 -08:00
John Firebaugh
33b1f4f23c
Render more line features
2013-01-20 09:39:25 -08:00
Brandon Liu
ded802049a
add history.numChanges method.
...
Use hasChanges/numChanges to toggle Save button and show confirmation dialog when navigating away from page.
2013-01-19 23:16:48 -08:00
Brandon Liu
d83ec7f1eb
Create method history.hasChanges
2013-01-19 23:01:47 -08:00
Brandon Liu
3b722ed503
Properly refer to iD.ui.confirm
2013-01-19 23:01:47 -08:00
Brandon Liu
59d37125df
make notice not a global var.
2013-01-19 23:01:47 -08:00
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