Commit Graph

3021 Commits

Author SHA1 Message Date
John Firebaugh
eaaff52d62 Help text 2014-05-18 16:02:48 -07:00
John Firebaugh
047fbb1282 Fix rendering when dragging intersection vertex 2014-05-18 16:02:48 -07:00
John Firebaugh
573237e94e Render U-turns 2014-05-18 16:02:48 -07:00
John Firebaugh
d4d80b2d6e Use turn restriction icons 2014-05-18 16:02:48 -07:00
John Firebaugh
3d210ac3c1 Implement basic restriction toggling 2014-05-18 16:02:47 -07:00
John Firebaugh
15fb547bcc Let preset editor preserve field state
The turn restrictions field wants to have selected state.
2014-05-18 16:02:47 -07:00
John Firebaugh
26422d9c9a Show ways in restriction editor as if they were split 2014-05-18 16:02:47 -07:00
John Firebaugh
3b26e8d511 Show turn restriction editor for any intersection 2014-05-18 16:02:47 -07:00
John Firebaugh
f39ae89177 Render turns of selected way 2014-05-18 16:02:47 -07:00
John Firebaugh
495fcc1b11 Include pick in lodash build 2014-05-18 16:02:47 -07:00
John Firebaugh
7cac179ce0 Start work on turn restriction editing field 2014-05-18 16:02:46 -07:00
John Firebaugh
be0126aba6 Extract iD.svg.Defs from Surface
Need to have a single defs for the entire document but
multiple Surfaces.
2014-05-18 16:02:46 -07:00
John Firebaugh
90bc8dd70a Extract iD.geo.RawMercator 2014-05-18 16:02:46 -07:00
John Firebaugh
419d5f359f field.geometry is a string, not an array 2014-05-18 16:02:46 -07:00
John Firebaugh
f5b29989f5 Deselect before deleting an entity
This avoids errors produced by attempts to generate turns for
ways that were just deleted.
2014-05-18 16:02:46 -07:00
John Firebaugh
173d379316 Merge branch 'bhousel-bhousel-fields' 2014-05-18 12:39:24 -07:00
John Firebaugh
f9520362c9 Use match rather than split 2014-05-18 12:39:15 -07:00
Bryan Housel
22c71bffca Update regexp, and remove trim from old key.. 2014-05-16 16:31:34 -04:00
Bryan Housel
846d637aa7 Trim tag keys, and prevent duplicate tag keys (#2043) 2014-05-16 12:37:02 -04:00
John Firebaugh
cb1972d76f Make field reference more flexible
Will need to support {"rtype": "restriction"} for turn
restriction field.
2014-05-14 17:22:24 -07:00
Martin Raifer
4261fefc6e Fix inline tag help for fields that handle multiple tags
Some preset fields like the access-restriction field manage
multiple tags at once (access=*, foot=*, bicycle=*, …). Then
iD wasn't able to show inline help when clicking the ⓘ button.

This introduces a new parameter for these kind of fields:
`referenceKey` determines the tag key which should be used to
search taginfo documentation for.

Fixes #2222.
2014-05-11 21:02:25 +02:00
Bryan Housel
749d145f50 Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-03 10:34:09 -04:00
Bryan Housel
004be4bb9a Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-02 15:30:00 -04:00
Bryan Housel
14efaee004 Remove "designated" from the general access case (#2213) 2014-05-02 14:46:07 -04:00
Bryan Housel
21882299c7 Move building tag class before everything
(so railway=station tagged building looks like a building)
2014-05-01 10:38:52 -04:00
Bryan Housel
f3ee2664a1 Render embarkment/cutting with dashed casing 2014-04-30 14:01:46 -04:00
Bryan Housel
c289f33e86 Order building before other tag classes, so buildings always show as red 2014-04-30 00:01:56 -04:00
John Firebaugh
afce1c9840 Merge pull request #2194 from bhousel/bhousel-operations
Improvements to circularize action
2014-04-23 19:11:40 -07:00
Bryan Housel
d245121b19 Fix isConvex() to correctly test the angle that closes the way. 2014-04-23 14:12:20 -04:00
Bryan Housel
33782a3958 Require 2 uniq points for circularize. Handle 2 point case, where D3 centroid() fails. 2014-04-21 23:29:25 -04:00
John Firebaugh
95edc5ff03 Fix up defaultcheck field type
It now works as determinate checkbox, where a checked
state produces *=yes and an unchecked state produces no
tag.
2014-04-15 16:33:43 -07:00
John Firebaugh
7b958cc1eb Fix custom template prompt showing "undefined" 2014-04-15 15:55:52 -07:00
John Firebaugh
273b5e2f63 Fix fill colors 2014-04-15 15:41:57 -07:00
John Firebaugh
c4bd57aa8c Update D3 to 3.4.6 2014-04-15 13:46:10 -07:00
John Firebaugh
1fb69f4865 Merge branch 'refs/heads/military-feature-fill' 2014-04-15 10:47:39 -07:00
John Firebaugh
27a948084e Get military fill to show up in Firefox 2014-04-15 10:47:31 -07:00
Bryan Housel
210e7889a1 Factor makeConvex into new method, fix missing comma and style issues.. 2014-04-14 23:54:03 -04:00
Bryan Housel
52f631f4a0 Coax concave ways to convex before circularizing.. 2014-04-10 15:26:31 -04:00
Bryan Housel
b8303e3708 Add d3.geom.hull to d3.v3.js 2014-04-10 15:25:04 -04:00
Bryan Housel
a928d4894d Add isConvex() to iD.Way.. 2014-04-10 11:00:13 -04:00
Bryan Housel
236e8413ec Add 2D cross product to iD.geo.. 2014-04-10 01:39:30 -04:00
John Firebaugh
daa1980aac 1.3.9 2014-04-09 15:02:35 -04:00
Bryan Housel
4c0c078045 When circularizing a way, try to add inBetweenNodes to shared ways too.. 2014-04-07 22:42:34 -04:00
John Firebaugh
1fee019d72 Remember last custom tile layer (fixes #2094) 2014-04-07 19:19:53 -04:00
Bryan Housel
a3a125187d preserve disconnect for lines, improve disconnect for shared nodes in areas.. 2014-04-01 17:22:48 -04:00
Bryan Housel
48dedb15ed Prevent a closed way from disconnecting itself.. 2014-03-30 22:49:19 -04:00
John Firebaugh
c9d256c9c7 1.3.8 2014-03-28 11:56:18 -07:00
Bryan Housel
1df54a700a Disable circularize and orthogonalize operations when way is <80% contained in the viewport 2014-03-27 22:47:34 -04:00
John Firebaugh
d6fa8c1e26 Support quartile scheme for any imagery source (fixes #2112) 2014-03-21 17:43:54 -07:00
John Firebaugh
b51e5366cc Zoom to GPX after adding (#2144) 2014-03-21 17:34:46 -07:00