Commit Graph

2807 Commits

Author SHA1 Message Date
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
Paul Mach 3ac12a1e70 Orthononalize bug fixes 2013-09-27 22:24:32 -07:00
Paul Norman e6aeba1f60 Add more tags to areas list
Keys added from osm2pgsql, excluded values from overpass turbo
2013-09-26 13:44:01 -07:00
John Firebaugh bfef7962fe Add office to area list (fixes #1784) 2013-09-26 13:18:32 -07:00
John Firebaugh 831f62fa0c 1.2.0 2013-09-26 10:18:31 -07:00
John Firebaugh 4728622d87 Don't auto-save intro tutorial edits
Fixes #1745
Fixes #1795
2013-09-25 15:32:56 -07:00
John Firebaugh 20c5209aad Update togeojson.js to 0.3.0 2013-09-25 15:01:04 -07:00
John Firebaugh 844c11df63 Clean up 2013-09-25 14:46:12 -07:00
SJohnson 0790cf7423 Added the ability to load points from gpx files and display on the map 2013-09-25 14:42:58 -07:00
John Firebaugh 690a04e538 Make straighten/orthogonalize act like a single operation
- Display only one or the other in the radial menu
- Rename "Orthogonalize" to "Square"
- Use "S" as shortcut for both

Refs #1839
2013-09-25 14:26:30 -07:00
Paul Mach 76e0ef7c26 Better orthogonalization of skinny quads. Fixes #1812 2013-09-21 21:21:36 -07:00
Paul Mach b8efb00cfc Add straighten way operation and action 2013-09-20 12:14:16 -07:00