Commit Graph

2837 Commits

Author SHA1 Message Date
John Firebaugh
4cce2e8d3a Use streams better 2013-10-21 16:04:59 -07:00
John Firebaugh
bd1fac9c48 Fix test failure 2013-10-21 16:04:59 -07:00
John Firebaugh
382bd2abd8 Use actual projection 2013-10-21 16:04:59 -07:00
John Firebaugh
22e453eae5 Use d3.geo.mercator.raw
This bypasses a number of features of D3's default projection
stream pipeline that are unnecessary:

* Antimeridian clipping
* Spherical rotation
* Resampling

This also disables viewport clipping of lines -- I'll add it
back in a separate step.
2013-10-21 16:04:59 -07:00
John Firebaugh
d2c8ea15fd Legend for GPS overlay layer 2013-10-21 13:28:09 -07:00
John Firebaugh
a5311b5f6c Show attribution for overlay layers (fixes #1909) 2013-10-21 12:31:48 -07:00
John Firebaugh
f1deed2712 Fix area sorting corner case (fixes #1903) 2013-10-18 10:28:01 -04:00
John Firebaugh
1f51098c95 Update selection list items on history changes
This is necessary for handling undos/redos during
multiselection. For example: change a feature's preset
or name, select the feature and some others, undo: the
selection list should update to display the former
preset type and former name.

While here, I removed the object indirection and bound
entities directly, and I removed hover effects (since
the features are selected, you can't see the hover).
2013-10-17 14:07:53 -04:00
John Firebaugh
9557d8f130 Cache path 2013-10-17 10:19:56 -04:00
John Firebaugh
26e38d7f8f Return geometries rather than features in asGeoJSON
No code needs the tags, and it eliminates one level
of function calls in the d3 stream pipeline.
2013-10-16 09:40:01 -04:00
Grant
0542a558d9 Add googleapis.com
Add googleapis.com to naughty list.
2013-10-16 11:49:53 +01:00
Aaron Lidman
ab1b6a508a Multiselection list UI 2013-10-15 18:30:30 -04:00
John Firebaugh
98b10a4f6b Exonerate Firefox 2013-10-15 15:42:15 -04:00
Aaron Lidman
a98cd3c43d Autocomplete city and postcode values, closes #1753 2013-10-15 15:32:56 -04:00
Tom MacWright
b1efa919cf Add google.ru 2013-10-15 13:50:25 -04:00
Tom MacWright
ac171cab0a Detect and dissuade stealing. Fixes #1896 2013-10-15 13:35:20 -04:00
John Firebaugh
e20a9f6734 Improve GPX related tooltips 2013-10-15 13:15:35 -04:00
John Firebaugh
a9964589fc Add a button to trigger file browser for GPX (fixes #1758) 2013-10-15 13:15:35 -04:00
John Firebaugh
958c919763 Better markup structure for background 2013-10-15 12:55:03 -04:00
Aaron Lidman
3d3415b5be Prevent 'zoom in to edit' from showing up during save success, closes #1792
Sets a background color, the same as the save state.
2013-10-15 11:46:24 -04:00
Aaron Lidman
27c3e4ce5d Moved localized delete button to the label, closes #1892 2013-10-15 10:55:53 -04:00
John Firebaugh
451253a453 Update D3 to 3.3.8 2013-10-15 10:38:18 -04:00
Aaron Lidman
5523917202 Fixed radio placeholder assignment 2013-10-15 10:32:02 -04:00
Aaron Lidman
fd44a6f381 Fixes blank hover state for Structure field, closes #1891 2013-10-15 10:06:50 -04:00
Aaron Lidman
83ad33a717 Removed the remove option from radio preset 2013-10-14 17:56:02 -04:00
Aaron Lidman
7305cf379b Add delete button to all forms, closes #1492 2013-10-14 16:41:59 -04:00
John Firebaugh
bc5bdaeb18 Omit non-OSM features from search results (fixes #1890) 2013-10-14 16:05:08 -04:00
John Firebaugh
7e94473e23 Add additional check to prevent snapping to area fills (fixes #1887) 2013-10-14 15:52:32 -04:00
John Firebaugh
8f0fc433c4 Add preventDefault for click events (fixes #1771) 2013-10-14 14:13:29 -04:00
Aaron Lidman
b78e396839 More opacity options 2013-10-14 12:13:18 -04:00
Aaron Lidman
1899eb361c Add None tile layer
Fixes #1472
2013-10-14 12:08:36 -04:00
John Firebaugh
b51cfd5d84 Fix adding localized value before name (#1797) 2013-10-11 16:31:54 -07:00
John Firebaugh
2f419f789e Disable removing incomplete relation members (fixes #1768) 2013-10-11 15:48:18 -07:00
John Firebaugh
696c8922c7 Fix changing localized language 2013-10-11 15:36:07 -07:00
John Firebaugh
497c80f0a5 Add translated name tag only when language and value are both present
Fixes #1796
Fixes #1797
2013-10-11 15:18:10 -07:00
John Firebaugh
8c30278d2d Show all combobox entries when clicking the caret (fixes #1755) 2013-10-11 15:18:10 -07:00
John Firebaugh
04f0806ce2 Fix misspelling 2013-10-11 15:18:10 -07:00
John Firebaugh
416a92f5f5 Don't show combobox menu with only one item 2013-10-11 14:20:31 -07:00
John Firebaugh
81bc280aba More reliable method for mutexed localStorage saves
Fixes #1883
2013-10-10 14:59:48 -07:00
John Firebaugh
7b09a97f6c Remove unnecessary history save
The intro saves and restored the current state via toJSON/fromJSON.
2013-10-10 13:42:23 -07:00
John Firebaugh
4b1af71d10 Don't prevent following an existing way when drawing (fixes #1430) 2013-10-10 11:29:10 -07:00
John Firebaugh
b69abc2359 iD.geo.edgeEqual 2013-10-10 11:29:10 -07:00
John Firebaugh
c7f085e93f Allow "yes" and "no" check values to be translated (fixes #1819) 2013-10-09 17:44:53 -07:00
John Firebaugh
353eb5e0d1 Treat a sole area=yes tag as "untagged" (#1867) 2013-10-09 17:20:29 -07:00
John Firebaugh
b5f0ae596f Special case 'yes' values for type fields (#1876) 2013-10-09 17:10:49 -07:00
John Firebaugh
d1b4e04ee4 Don't add addr:housenumber=yes when applying Address preset (#1874) 2013-10-09 16:35:12 -07:00
John Firebaugh
20d3af5620 Ensure preset fields are consistently ordered (#1876) 2013-10-09 16:18:55 -07:00
John Firebaugh
7fb047a7ba Cleanup; set correct language for pasted wikipedia links 2013-10-09 16:03:17 -07:00
John Firebaugh
965fb47680 Preserve existing Wikipedia language (fixes #1868) 2013-10-09 15:36:28 -07:00
John Firebaugh
ba3b53846f Don't allow dragging of the map when the click starts in a button
Fixes #1869
2013-10-09 14:10:07 -07:00