Commit Graph

1417 Commits

Author SHA1 Message Date
Tom MacWright fefdecfa67 Corner-preserving resampling 2013-03-07 14:16:08 -05:00
Tom MacWright 27c0edb2c1 Resample oneway paths to produce markers.
This uses a technique created by @mbostock in http://bl.ocks.org/mbostock/4965670
Need to confirm that this is faster. It is definitely cleaner.
2013-03-06 21:08:50 -05:00
John Firebaugh 87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00
John Firebaugh 84a4f9e5d2 Eliminate iD.layers 2013-03-06 15:51:16 -08:00
John Firebaugh 7cdfa8daf3 Remove duplicated code 2013-03-06 15:51:16 -08:00
Ansis Brammanis 928cade41b oneway markers on rivers and streams 2013-03-06 17:51:31 -05:00
John Firebaugh 63d7d94c4a Fix global leak 2013-03-06 13:58:41 -08:00
Tom MacWright 00696a9a96 Merge pull request #913 from systemed/preset-search
Improve preset searching
2013-03-06 13:58:24 -08:00
Tom MacWright 662cfeb576 Improve preset searching
Add preset searching of terms
Add more synonyms, improve matching - levenstein for terms too.
2013-03-06 16:54:32 -05:00
John Firebaugh 98d1ee4f10 Fix rendering of multipolygons with the tags on the outer way
From the wiki:

> If you have one closed way making up the outer ring and it does not
> describe something in its own right, you may also put these tags on
> the outer ring and leave the relation untagged.

During line and area rendering, fix up such ways so that they are
rendered as if the tags were on the relation instead.

Fixes #613.
2013-03-06 13:22:43 -08:00
Ansis Brammanis 32a78d4573 let centerEase be stopped by dragging 2013-03-06 14:42:56 -05:00
Ansis Brammanis 116e03c6d6 tweak point label halo 2013-03-06 14:22:52 -05:00
John Firebaugh 5669fa3285 Switch back to live by default 2013-03-06 11:05:26 -08:00
Ansis Brammanis 8fc4cffd20 Revert "shorter wait before redrawing after zooming"
This reverts commit 7a22e62426.
2013-03-06 13:12:46 -05:00
Ansis Brammanis f8f86e7a42 Avoid style recalculation in resetTransform 2013-03-06 12:11:46 -05:00
Ansis Brammanis 7a22e62426 shorter wait before redrawing after zooming
Feels a lot snappier.
Slightly longer delay when panning.
2013-03-06 12:04:41 -05:00
John Firebaugh dbe3020877 Remove outdated comment 2013-03-05 19:52:17 -08:00
John Firebaugh e9b2563ad8 Force natural=coastline not to be an area (fixes #900) 2013-03-05 17:39:14 -08:00
John Firebaugh c36b2c9269 Avoid changing tile positions in the load/error callbacks
Fixes #644
2013-03-05 16:19:04 -08:00
John Firebaugh 9f85daaffc Simplify 2013-03-05 16:08:37 -08:00
John Firebaugh a84d60f36d Clear cache when changing source 2013-03-05 16:08:37 -08:00
John Firebaugh 50de147fb0 Camel case 2013-03-05 16:08:37 -08:00
John Firebaugh 98589408bd Remove unused 2013-03-05 16:04:17 -08:00
John Firebaugh 5b5f3fe2e5 Use consistent selection argument style 2013-03-05 16:02:27 -08:00
John Firebaugh 417e21ab05 Remove unused 2013-03-05 16:02:27 -08:00
Tom MacWright c4fc6ca114 Merge branch 'master' of github.com:systemed/iD 2013-03-05 18:00:02 -05:00
Tom MacWright 7e9a427a2b Test getPrototype, use American spellings, fix test formatting.
* Stub Lasso test
* Add cmd test
2013-03-05 17:59:50 -05:00
Ansis Brammanis c74615fa83 Only re-enable dblclick after done drawing way 2013-03-05 16:54:33 -05:00
Tom MacWright b2db6ed5a4 Merge branch 'master' of github.com:systemed/iD 2013-03-05 16:50:19 -05:00
Tom MacWright e071c15579 Remove unused variables and arguments 2013-03-05 16:29:23 -05:00
Ansis Brammanis 8e6588ad64 preset description 2013-03-05 16:10:14 -05:00
Tom MacWright 21bd81e890 Merge branch 'master' of github.com:systemed/iD 2013-03-05 15:44:41 -05:00
Tom MacWright 64200b9920 Change tooltip for save button depending on disabled state. Fixes #573 2013-03-05 15:29:44 -05:00
John Firebaugh b53014e50f Cleanup 2013-03-05 12:22:06 -08:00
John Firebaugh 05279c3954 Fix background control initial state (fixes #904) 2013-03-05 12:22:06 -08:00
John Firebaugh 239fa6258a layerswitcher -> background 2013-03-05 12:22:06 -08:00
Tom MacWright f81ce9daee Merge branch 'master' of github.com:systemed/iD 2013-03-05 14:46:50 -05:00
Tom MacWright d8e7936d8a Fix CORS error catching on save. Fixes #788. Fixes #451 2013-03-05 14:44:27 -05:00
John Firebaugh 0ae83fd3c3 Open imagery attribution in new window 2013-03-05 11:34:34 -08:00
John Firebaugh 2b5a9e603d Don't reuse bare geometry classes
Fixes a problem where inspector background had odd cursors.
2013-03-05 11:24:51 -08:00
Tom MacWright d6be4e92df Reset auth object so that users can log out and back in. Fixes #749 2013-03-05 14:03:11 -05:00
John Firebaugh d9630a8820 Only do the delete hack if it's the first key press
This avoids unexpectedly deleting when you spam backspace
to clear a failed search query.
2013-03-05 10:10:28 -08:00
Ansis Brammanis 3a680b027f add tests for iD.presets.Preset 2013-03-05 13:06:21 -05:00
Ansis Brammanis 3fd7217894 form attribute optional for presets 2013-03-05 11:27:15 -05:00
Ansis Brammanis a56f273827 fix leaking global 2013-03-05 10:37:56 -05:00
John Firebaugh 21b59461ee Fix global leak, reuse Delete operation 2013-03-04 17:16:14 -08:00
John Firebaugh 988bfeb767 Support both delete and backspace (fixes #887)
Also show correct key in operation tooltip.
2013-03-04 17:12:44 -08:00
Ansis Brammanis 053f86f82b move preset tag application to presets/preset.js 2013-03-04 19:16:46 -05:00
Ansis Brammanis 1fe3d5a04e Don't include other in recent presets 2013-03-04 18:33:07 -05:00
Ansis Brammanis 73314f3415 show entire line preset icon 2013-03-04 18:19:34 -05:00