Commit Graph

2818 Commits

Author SHA1 Message Date
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
John Firebaugh 411db160fe Prefer to render highway=* styles over railway=*
Fixes #1880
2013-10-09 14:02:55 -07:00
John Firebaugh 6f9a9c90b8 1.2.1 2013-09-30 17:17:06 -07:00
John Firebaugh 16d3346147 Split only the line of a node shared by a line and an area 2013-09-30 16:54:03 -07:00
John Firebaugh dfd0854314 Fix strict mode parse error and other style issues 2013-09-30 16:31:23 -07:00
John Firebaugh 69689a59d5 Reuse iD.actions.AddMember 2013-09-30 16:19:36 -07:00
John Firebaugh 011dc140a3 Handle multipolygon corner case when splitting (fixes #1799) 2013-09-30 16:17:16 -07:00
John Firebaugh 47516bd650 Don't suggest adding a relation to itself (fixes #1820) 2013-09-30 15:14:20 -07:00
John Firebaugh ecfe8ce943 Adjust the timing of localStorage saves
If localStorage writes were free, we'd want to just save
on every history change. Second best is to debounce the
write.

Writing on mode change is problematic; it sometimes happens
when not desired and sometimes doesn't happen when desired.

Fixes #1857.
2013-09-30 14:45:02 -07:00
John Firebaugh 17325fde83 Use generic access value as placeholder (fixes #1780) 2013-09-30 13:55:06 -07:00
John Firebaugh 37a77879c7 Filter on combobox value, not title (fixes #1836) 2013-09-30 12:45:20 -07:00
John Firebaugh 161a4e24a6 Parallelism 2013-09-30 10:37:59 -07:00
Minh Nguyễn 77c7091cf2 Show relation documentation for relation presets
See http://taginfo.openstreetmap.org/taginfo/apidoc#api_4_relation_wiki_pages

Fixes #1862.
2013-09-30 10:35:00 -07:00
John Firebaugh 30bf1cd87c Remove unused variables 2013-09-30 10:14:40 -07:00
Paul Mach 0e080b3ed6 Limit squaring to near square or near straight nodes 2013-09-29 13:44:30 -07:00
John Firebaugh 75b6ec746b Clean up 2013-09-29 07:55:59 -07:00
John Firebaugh 166bc5de5b Clean up 2013-09-29 07:46:45 -07:00
tyr e8d637f2bb Add iD.geo.sphericalDistance
iD.geo.euclideanDistance should only be used for calculations of 
projected coordinates or display (pixel) coordinates.

iD.geo.sphericalDistance calculates approximate geographical 
distances, accounting for distortions at higher latitudes. This 
can be used for determining the nearest node (operations.Delete,
actions.Circularize) or relative length comparisons (actions.Split).
2013-09-29 07:45:04 -07:00
tyr 6afe3adfbe more clever splitting of closed ways
if a way is closed, iD needs to choose a second node to
split the way at.

This algorithm looks for a node that is both far away from
the initial node in terms of way segment length and nearby
in terms of beeline-distance. This assures that areas get
split on the most "natural" points (independent of the number
of nodes).

For example: bone-shaped areas get split across their waist-
line, circles across the diameter.
2013-09-29 07:43:20 -07:00
Paul Mach be30344cfd Improve Circularize Action 2013-09-28 14:33:39 -07:00