Commit Graph

1402 Commits

Author SHA1 Message Date
Ansis Brammanis f4a6edb224 Localize labels 2013-02-08 18:25:39 -05:00
Ansis Brammanis 334cb9f93b Fix error, pos could be null 2013-02-08 18:01:45 -05:00
Ansis Brammanis 5b646b75c3 Only lasso if mouse has moved 2013-02-08 17:53:43 -05:00
Ansis Brammanis ba47d3183d Fix lasso and add it to select 2013-02-08 17:46:37 -05:00
Ansis Brammanis 123c700853 Fix midpoint dragging 2013-02-08 16:49:09 -05:00
John Firebaugh e05531ad6c Fix circularize boundary cases (fixes #494)
There are still more boundary cases even farther out. But this is
probably sufficient for the real world.
2013-02-08 12:08:48 -08:00
John Firebaugh d59320ee4b Extract Way#replaceNode 2013-02-08 12:07:57 -08:00
Tom MacWright 5139de969e Slow-remove tiles, pay attention to parentNode, refs #686 2013-02-08 13:48:51 -05:00
Tom MacWright 8d8ec84316 Fix inadverted .remove call. Fixes #686 2013-02-08 13:40:57 -05:00
Tom MacWright afcb1837e7 Only do extent build if necessary 2013-02-08 11:36:25 -05:00
Tom MacWright 7b33472203 Nix the array joins 2013-02-08 11:31:33 -05:00
Tom MacWright 151266c75f Merge branch 'master' of github.com:systemed/iD 2013-02-08 11:20:23 -05:00
Tom MacWright 2e8e7ad1cc Use css transitions for tiles 2013-02-08 11:20:11 -05:00
Ansis Brammanis 2c9732f547 Fix localstorage history clearing 2013-02-08 11:04:05 -05:00
Tom MacWright 0b89df063f Optimize resetting opacity 2013-02-08 11:02:23 -05:00
Tom MacWright bd615fb19f Cache mousePosition 2013-02-08 10:48:00 -05:00
Tom MacWright 6f81288eb9 Name load function so we can profile it 2013-02-08 10:23:35 -05:00
Tom MacWright 4a339ade87 Do not use d3.mouse unless needed, instantly exit select. 2013-02-08 10:21:04 -05:00
Tom MacWright 20e1181b7a Use a trueObj for filtering labels, add fastMouse 2013-02-08 10:08:30 -05:00
Tom MacWright b24d03a583 Optimize iD.geo.dist, fixes #685
See benchmark: http://jsperf.com/id-dist-optimization
2013-02-08 09:46:04 -05:00
Tom MacWright a773aaaab4 Improve perf with some benchmarking.
Re translate change see http://jsperf.com/coerce-vs-join-array
2013-02-07 22:55:44 -05:00
Tom MacWright 054ecae5c9 Avoid new indirection with extent 2013-02-07 22:55:21 -05:00
Tom MacWright b6551e8db0 Name geo constructor so it is profilable 2013-02-07 22:41:47 -05:00
Ansis Brammanis 0804da824a Fix background test 2013-02-07 18:41:17 -05:00
Tom MacWright 27e7df888d Support locales in taginfo. Fixes #678 2013-02-07 18:24:01 -05:00
Tom MacWright 645dcebbfe Use platform-specific mod keys, refs #676 2013-02-07 18:09:28 -05:00
Tom MacWright adbcfbd969 Merge branch 'master' of github.com:systemed/iD 2013-02-07 17:59:42 -05:00
Tom MacWright ad5c1df228 Detect support as well as os and language 2013-02-07 17:59:31 -05:00
Ansis Brammanis 28c541067b Fix #680, fix use of imagery scaleExtents 2013-02-07 17:58:28 -05:00
Ansis Brammanis ec065dca4c Fix flashing, reset transform on mouseup 2013-02-07 17:18:44 -05:00
Tom MacWright 57493016b6 Remove ref to 404 test, do not discard tags from empty tags 2013-02-07 17:17:24 -05:00
Tom MacWright 5e328435e6 jshint 2013-02-07 16:58:38 -05:00
Tom MacWright bae78aecba Merge pull request #675 from systemed/discard-tags
Discard tags
2013-02-07 13:55:43 -08:00
Tom MacWright a8f5ab206e Merge branch 'master' into discard-tags
Inline discardTags

Conflicts:
	index.html
2013-02-07 16:51:38 -05:00
John Firebaugh e1bc78871b Handle entities that are already deleted (fixes #672) 2013-02-07 13:46:25 -08:00
Tom MacWright 189412398e Merge pull request #673 from systemed/lasso
Lasso
2013-02-07 13:36:54 -08:00
John Firebaugh 5cad057212 Clear selection on esc (fixes #643) 2013-02-07 13:36:19 -08:00
Tom MacWright 843926009d Normalize coordinates so that lasso can be dragged in any direction 2013-02-07 16:32:03 -05:00
Tom MacWright 6a7e508f9e Merge branch 'master' into lasso 2013-02-07 16:22:11 -05:00
Tom MacWright f0b761b979 Lasso action 2013-02-07 16:21:25 -05:00
Ansis Brammanis 02d4b8f1aa Remove unnecessary code from orthogonalize 2013-02-07 15:48:32 -05:00
Tom MacWright b9d80538b1 jshinting 2013-02-07 15:41:14 -05:00
Ansis Brammanis 9a2bafac1b Power through less square iterations 2013-02-07 15:30:44 -05:00
Ansis Brammanis cf96055781 Fix scale calculation in orthogonalize 2013-02-07 14:08:07 -05:00
Ansis Brammanis ec152716fb Fix calls to ui.flash 2013-02-07 01:16:51 -05:00
John Firebaugh 0af51a0ef6 Improvements to Split
* Split a closed way at selected and antipode point (fixes #651)
* Split an area into a multipolygon (fixes #572)
2013-02-06 16:00:19 -08:00
Ansis Brammanis 246481ad92 Switch back to mouseup, and block following click 2013-02-06 18:53:46 -05:00
Tom MacWright ce53a9233a Remove unscoped d3.select 2013-02-06 18:11:50 -05:00
Ansis Brammanis 2ca4387f74 Fix snapping nodes to areas
In the future it may be good to use shadow paths, but at this point
there isn't really a reason to add thousands of additional paths.
2013-02-06 17:42:51 -05:00
Tom MacWright 8008034697 Merge pull request #665 from systemed/dynamic-layers
Dynamic layers
2013-02-06 14:41:21 -08:00