Commit Graph

110 Commits

Author SHA1 Message Date
Saman Bemel-Benrud
03819c2d90 styled lasso, fixes #741 2013-02-19 16:57:26 -05:00
John Firebaugh
4d976013f9 Connect via drag for points (fixes #725) 2013-02-11 12:44:29 -08:00
Ansis Brammanis
d458a3707f Add comments about opera detection 2013-02-11 12:42:02 -05:00
Ansis Brammanis
fe32ca9d03 Yep, detecting opera.
Goal can be achieved with two different svg styles,
but Opera only implements one, Firefox the other. Can't
apply both because Chrome implements both.
2013-02-11 12:36:21 -05:00
Ansis Brammanis
0e871bb957 Fix shift-click on points in ff 2013-02-11 11:53:26 -05:00
Tom MacWright
2e8e7ad1cc Use css transitions for tiles 2013-02-08 11:20:11 -05:00
John Firebaugh
5eb0644242 Improve multipolygon rendering
Multipolygon relations report their geometry as 'area' and are rendered
as such. However, they do not render a stroke. The stroke rendering
will come from the individual lines, which are given the tag
classes of their parent relations, allowing them to have a stroke
style matching the style of simple areas with the same tags.

Untagged circular ways are no longer considered areas. This prevents
an untagged inner way of a multipolygon from rendering as an area and
is consistent with how P2 and JOSM treat them.

In the CSS, it's no longer necessary to deal with multipolygons
explicitly in selectors. But keep in mind that area boundaries can
now be rendered either as lines or as area strokes. In most cases
the selector should be `path.stroke.tag-_____`, i.e. an explicit
`.area` or `.line` classes should not be included.

Finally, the parent ways of selected multipolygons are given the 'selected'
class.
2013-02-05 15:20:11 -08:00
John Firebaugh
4fed3e5dac Fix rogue s/red/#f6634f/g 2013-02-04 16:55:46 -08:00
John Firebaugh
c9fb1444db Connect via drag and drop
Fixes #598.
2013-02-04 16:48:54 -08:00
Saman Bemel-Benrud
00da90cf36 Merge branch 'master' of github.com:systemed/iD 2013-02-04 19:37:31 -05:00
Saman Bemel-Benrud
5764012b23 better styles for map features. 2013-02-04 19:37:10 -05:00
Ansis Brammanis
3417a1639c Hide midpoints when drawing (no snapping) 2013-02-04 17:16:14 -05:00
Ansis Brammanis
9ec7491645 Fix baseline shifting for opera 2013-02-04 16:45:34 -05:00
John Firebaugh
e0d4f5e87d Use default shape-rendering
On Firefox, optimizeSpeed = aliased. Fixes #592.
2013-02-04 07:13:49 -08:00
John Firebaugh
03800ec841 Don't force point to area boundary (fixes #614) 2013-02-03 13:21:27 -08:00
Ansis Brammanis
8dcb215fe3 Hide labels on mouseover 2013-01-31 15:40:17 -05:00
Ansis Brammanis
26dfaf8161 Revise label stack 2013-01-31 14:43:41 -05:00
John Firebaugh
a48453c6ed Selected style should take precedence over hover (fixes #568) 2013-01-31 13:03:50 -05:00
John Firebaugh
b37ef978f4 Snap to ways/vertices/midpoints when drawing (#240)
Also add anti-snapping behavior when option key is down.
2013-01-29 11:16:12 -05:00
John Firebaugh
269739905a Render areas with separate stroke and fill 2013-01-26 16:43:46 -05:00
John Firebaugh
a741d8e6f6 Single character bug fix! (fixes #524) 2013-01-26 15:50:09 -05:00
John Firebaugh
7dba315974 Fix draw area cursors 2013-01-24 18:09:29 -05:00
Tom MacWright
c7716ae864 Fix CSS typos 2013-01-24 16:11:47 -05:00
Tom MacWright
2b4b8cb5fe Merge pull request #468 from systemed/labels
Labels
2013-01-23 16:21:01 -08:00
Ansis Brammanis
99748dba4e Fix several small label related bugs 2013-01-23 18:54:31 -05:00
John Firebaugh
2b799ddd7b Improve point rendering 2013-01-23 18:24:17 -05:00
Ansis Brammanis
b678486c01 Label bugfixes and cleanup 2013-01-23 16:08:43 -05:00
Ansis Brammanis
4a87ae8298 Point halos and test width calculation/estimation 2013-01-23 11:48:04 -05:00
Ansis Brammanis
66c0a08d00 Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/renderer/map.js
2013-01-22 14:55:15 -05:00
Ansis Brammanis
2b7aa93096 Add classes to labels for styling 2013-01-22 14:47:50 -05:00
John Firebaugh
c05f3ea7f4 Don't fill multipolygon boundaries (fixes #426) 2013-01-21 20:32:56 -05:00
Ansis Brammanis
0afb564435 Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/svg/lines.js
	js/id/svg/surface.js
2013-01-20 20:37:00 -05:00
John Firebaugh
4a084a8b89 Improve midpoints rendering 2013-01-20 12:01:19 -08:00
John Firebaugh
fce209131a Improve vertex rendering 2013-01-20 11:37:14 -08:00
John Firebaugh
33b1f4f23c Render more line features 2013-01-20 09:39:25 -08:00
John Firebaugh
79801e57af More highway rendering improvements 2013-01-19 21:04:50 -08:00
John Firebaugh
e5407fa49d Improve highway rendering; render halo in a separate layer 2013-01-19 18:07:39 -08:00
Ansis Brammanis
efd829e396 Merge branch 'master' into labels
Conflicts:
	js/id/renderer/map.js
	js/id/svg/lines.js
2013-01-18 17:19:12 -05:00
Ansis Brammanis
9e784b6bc9 mostly working path and point labelling 2013-01-18 16:34:41 -05:00
John Firebaugh
abb5d83d9c Add amenity=parking rendering 2013-01-17 21:10:30 -08:00
John Firebaugh
c5afec0f98 Add leisure=park rendering 2013-01-17 21:03:25 -08:00
John Firebaugh
a8cd845831 Use area cursors for multipolygons for now 2013-01-17 20:50:58 -08:00
John Firebaugh
3eaf4a46e0 Add CSS classes for relation memberships
An entity that is a member of a relation will have the classes
`member`, `member-role-<member role>`, and `member-type-<relation type>`.

The first use of these classes is to avoid filling multipolygon
member areas.
2013-01-17 15:17:40 -08:00
Ansis Brammanis
8a84dd4c8e start label styles and positioning 2013-01-17 16:10:01 -05:00
John Firebaugh
9a76b81125 First cut on multipolygon rendering 2013-01-17 11:57:30 -08:00
Tom MacWright
3d10a00284 Higher-contrast shared vertices 2013-01-17 10:16:39 -05:00
Tom MacWright
852e0216f3 Improve contrast of selected way nodes. Fixes #371 2013-01-16 13:18:57 -05:00
Tom MacWright
6aae64bd62 Add waystack, fix bridge coloring 2013-01-16 13:06:01 -05:00
John Firebaugh
e85bdba950 Ensure drawing doesn't interact with area fills
Fixes #332
2013-01-11 16:24:01 -08:00
John Firebaugh
7dc1945ee3 accuracy-handle -> midpoint 2013-01-11 14:54:51 -08:00