Commit Graph

11794 Commits

Author SHA1 Message Date
Tom MacWright 3e69ef6f9e Fix tests and global leak 2013-03-07 17:53:36 -05:00
Tom MacWright 0fafa340fe Start using d3 3.1.0
Update d3, use streams, d3.set, clip
Use clipping, fix side effects
2013-03-07 17:45:16 -05:00
John Firebaugh 7a00c896b2 Add tree preset 2013-03-07 14:36:57 -08:00
pnorman 3fadf873a3 Change default max zoom to 20
A lot of imagery goes to z20 now. Where the max zoom is not known it should be set high to allow the imagery to be used at its maximum resolution

Where the source imagery does not support up to z20 it will fall back to higher zoom levels. It is unlikely that editors will be zoomed in far past the max zoom of the imagery.

This does not replace the lack of max zoom support for preset imagery layers (issue #784)
2013-03-07 13:59:42 -08:00
John Firebaugh 28003184b3 Use subdirectory rather than file prefix 2013-03-07 13:56:28 -08:00
John Firebaugh b1316676b2 Add water presets 2013-03-07 13:53:09 -08:00
John Firebaugh a57626f51c Add a make rule for presets 2013-03-07 13:53:09 -08:00
Ansis Brammanis df18dd9ca9 Hide geocoder, background on mousedown 2013-03-07 16:20:32 -05:00
Ansis Brammanis e810cfb666 keyboard navigation for background 2013-03-07 16:15:01 -05:00
Ansis Brammanis e95cc54396 Fix geocoder tabindex 2013-03-07 16:01:44 -05:00
Saman Bemel-Benrud d2e2a1b9fe back to the original inkscape landuse-patterns file. 2013-03-07 15:49:31 -05:00
Tom MacWright e2dc3f46b2 Improve svg and util test coverage 2013-03-07 15:44:23 -05:00
Saman Bemel-Benrud fd2f464bf9 cleanup error message. 2013-03-07 15:33:16 -05:00
Tom MacWright 4ac5da7584 Merge branch 'master' of github.com:systemed/iD 2013-03-07 15:32:30 -05:00
Tom MacWright ca74b111b0 Fix highlighting of layers and geocoding
* Fix highlighting of custom layer. Fixes #915
* Line up tabindexes. Fixes #922
2013-03-07 15:32:03 -05:00
Tom MacWright 154a587631 Fine tune marker spacing 2013-03-07 15:31:26 -05:00
Ansis Brammanis 4ba11985b5 remove old preset files 2013-03-07 15:31:26 -05:00
Tom MacWright d683d98945 Avoid unnecessary bind 2013-03-07 15:31:26 -05:00
Tom MacWright a58df86126 Corner-preserving resampling 2013-03-07 15:31:26 -05:00
Tom MacWright 1228155551 Fix tests
Way lines are no longer the only paths on the map, so we need to be more
specific.
2013-03-07 15:31:26 -05:00
Tom MacWright 4c1f292378 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-07 15:31:25 -05:00
Ansis Brammanis 2af11c71db disable hideOnMouseover while dragging 2013-03-07 15:19:32 -05:00
Ansis Brammanis 6e770dbb85 split presets into individual files 2013-03-07 15:01:34 -05:00
John Firebaugh 27861ca6b2 Implement multiselect cursors (fixes #296) 2013-03-07 11:57:43 -08:00
Tom MacWright 9502f34e08 Merge pull request #918 from systemed/resample-oneway
Resample oneway paths to produce markers.
2013-03-07 11:37:26 -08:00
Tom MacWright ee04bf65f4 Fine tune marker spacing 2013-03-07 14:37:00 -05:00
Ansis Brammanis 4dab9bc7f3 remove old preset files 2013-03-07 14:35:57 -05:00
Saman Bemel-Benrud cb50f75fd9 adding add and remove cursors for multiselect. 2013-03-07 14:33:17 -05:00
Tom MacWright d083b7ea6a Avoid unnecessary bind 2013-03-07 14:17:31 -05:00
Tom MacWright fefdecfa67 Corner-preserving resampling 2013-03-07 14:16:08 -05:00
Saman Bemel-Benrud 2707daec8b moved spinner. 2013-03-07 14:10:15 -05:00
John Firebaugh 25f7cd310d Merge branch 'spinner'
Conflicts:
	css/app.css
	js/id/connection.js
2013-03-07 11:00:14 -08:00
John Firebaugh a6ce12efb6 Add shadow on area strokes (fixes #674) 2013-03-07 10:33:11 -08:00
John Firebaugh 457922856e Remove stroke-width on vertex shadows
This was causing oversized hit boxes on Firefox.
2013-03-07 10:33:10 -08:00
John Firebaugh cb59453fcd Make vertex shadow slightly smaller
It's getting in the way too often.
2013-03-07 10:33:10 -08:00
Saman Bemel-Benrud d77f8b6779 adding source for map colors that I forgot to add a long time ago. 2013-03-07 13:29:00 -05:00
Ansis Brammanis aec08f0558 Add and fix some presets 2013-03-07 13:24:47 -05:00
Saman Bemel-Benrud 8d911a4a9d styling loading state. 2013-03-07 13:14:16 -05:00
Ansis Brammanis 61133a6f8a improve search
- prioritize exact matches of words, either in name or terms
- prioritize fuzzy name matches over fuzzy term matches
- reduce max difference to 2
2013-03-07 13:03:19 -05:00
Saman Bemel-Benrud 7a40548c58 fixed tooltip positioning, closes #829 2013-03-07 12:35:48 -05:00
Saman Bemel-Benrud 576dad5645 fixed operation icons, were looking a little disabled. 2013-03-07 12:22:32 -05:00
Saman Bemel-Benrud 97290de537 fixed accidental style removal, closes #914 2013-03-07 12:12:45 -05:00
Ansis Brammanis eb8c876460 Fix node parsing
Old nodes may be missing user and uid
for example, node 60743409
2013-03-07 10:46:25 -05:00
John Firebaugh ead70be5e7 Add town hall preset 2013-03-06 20:34:22 -08:00
John Firebaugh 893b66bd93 Better Travis configuration 2013-03-06 18:22:28 -08:00
Tom MacWright c736f1d312 Fix tests
Way lines are no longer the only paths on the map, so we need to be more
specific.
2013-03-06 21:20:09 -05:00
John Firebaugh 421b9ba29f Use local uglify binary 2013-03-06 18:18:06 -08: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 ce97452d90 Add island preset 2013-03-06 17:54:34 -08:00
John Firebaugh bf90c1ae93 Render circular place=* as an unfilled area
Basically, give it area label placement, but line
behavior otherwise.

Test case: #id=w169604918&map=19.46/41.41402/-70.94773
2013-03-06 17:37:18 -08:00