Commit Graph

992 Commits

Author SHA1 Message Date
Ansis Brammanis
daff9c5a2f Labels height pulled from font-size css 2013-01-22 17:40:05 -05:00
Ansis Brammanis
66c0a08d00 Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/renderer/map.js
2013-01-22 14:55:15 -05:00
Ansis Brammanis
2b7aa93096 Add classes to labels for styling 2013-01-22 14:47:50 -05:00
Tom MacWright
9a3d545f17 Do not focus text fields after initial placement 2013-01-22 14:42:21 -05:00
Tom MacWright
64445e50ac Slow and fast redraw 2013-01-22 14:17:27 -05:00
Ansis Brammanis
0249d6b3eb Try multiple line label positions 2013-01-22 14:04:19 -05:00
Ansis Brammanis
14272ef200 Add label_stack 2013-01-22 13:03:53 -05:00
Ansis Brammanis
079a456500 Add pathLength to utils 2013-01-22 12:35:15 -05:00
Tom MacWright
748b597c84 Fast zooming based on transforms.
* Replaces the mouseup-tranformStart method with a redraw debouced by 1/5s
2013-01-22 12:23:51 -05:00
Ansis Brammanis
00e5ca25ee Split up pathTransform 2013-01-22 12:03:23 -05:00
Tom MacWright
5937258c24 Merge branch 'hash' 2013-01-22 11:19:33 -05:00
Tom MacWright
55346c4d33 Work around blur issue for #439 2013-01-22 11:19:09 -05:00
Ansis Brammanis
397372b505 start rearranging label code 2013-01-22 11:04:39 -05:00
Ansis Brammanis
9aa74c404d Add rtree.js 2013-01-22 11:01:46 -05:00
Tom MacWright
42f145a945 Merge pull request #457 from systemed/hash
Hash
2013-01-22 07:47:03 -08:00
Tom MacWright
38c02509ea Do not tolerate modifiers for action shortcuts.
Tolerates id-equality for selecting features.
2013-01-22 10:39:10 -05:00
Tom MacWright
3d90801e63 Add willselect to hash, works with non-line features. 2013-01-22 10:22:00 -05:00
John Firebaugh
2e14a6b4de Unbind ⌘-Z when exiting DrawLine (fixes #455) 2013-01-22 09:49:38 -05:00
Tom MacWright
7cf234365e Non-overwriting hash, add hash in select mode. Needs code for dealing
with hash.
2013-01-22 09:41:29 -05:00
Tom MacWright
b3765a4467 Microbranching jshint stuff. 2013-01-22 09:35:34 -05:00
John Firebaugh
c8bee263e9 Split ways at T junctions (fixes #453) 2013-01-21 20:32:17 -05:00
Ansis Brammanis
71f6402df0 add very basic support for area labels 2013-01-20 22:46:30 -05:00
Ansis Brammanis
572c111bf1 Add polygonCentroid and polygon area to utils 2013-01-20 22:21:18 -05:00
Ansis Brammanis
0afb564435 Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/svg/lines.js
	js/id/svg/surface.js
2013-01-20 20:37:00 -05:00
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