Commit Graph

134 Commits

Author SHA1 Message Date
Saman Bemel-Benrud
08346de80b fixing landuse stroke colors, closes #940 2013-03-11 16:37:04 -04:00
John Firebaugh
ab561ff198 Better way to prevent snapping to area fill
This also prevents are hover behavior during node dragging,
while allowing snapping to vertex fill.
2013-03-11 12:29:00 -07:00
Ansis Brammanis
6440905e36 add transparency for highway tunnels 2013-03-10 00:45:22 -05:00
John Firebaugh
5c9bb631a2 Fix previous commit 2013-03-09 15:58:31 -08:00
John Firebaugh
6aa6c278b2 Improve railway=platform rendering (fixes #946) 2013-03-09 15:57:43 -08:00
John Firebaugh
60ff6fc021 Use maki icons for points (fixes #881) 2013-03-08 20:22:06 -08:00
Ansis Brammanis
bfdca7fc85 Add fill patterns for landuse, natural areas
Not working in Firefox. To get it to work in Firefox,
styles need to be directly applied to the path, or
set in an embedded stylesheet (not sure whats going on there).
2013-03-08 00:16:07 -05:00
John Firebaugh
27861ca6b2 Implement multiselect cursors (fixes #296) 2013-03-07 11:57:43 -08:00
Tom MacWright
9502f34e08 Merge pull request #918 from systemed/resample-oneway
Resample oneway paths to produce markers.
2013-03-07 11:37:26 -08:00
John Firebaugh
a6ce12efb6 Add shadow on area strokes (fixes #674) 2013-03-07 10:33:11 -08:00
John Firebaugh
457922856e Remove stroke-width on vertex shadows
This was causing oversized hit boxes on Firefox.
2013-03-07 10:33:10 -08:00
Tom MacWright
27c0edb2c1 Resample oneway paths to produce markers.
This uses a technique created by @mbostock in http://bl.ocks.org/mbostock/4965670
Need to confirm that this is faster. It is definitely cleaner.
2013-03-06 21:08:50 -05:00
John Firebaugh
bf90c1ae93 Render circular place=* as an unfilled area
Basically, give it area label placement, but line
behavior otherwise.

Test case: #id=w169604918&map=19.46/41.41402/-70.94773
2013-03-06 17:37:18 -08:00
saman bb
15c37b86b9 fixes in map.css 2013-03-06 19:57:01 -05:00
saman bb
09f01ada5e added styles for beach and scrub. 2013-03-06 19:41:15 -05:00
saman bb
a131acd7f0 Merge branch 'master' of github.com:systemed/iD 2013-03-06 19:37:11 -05:00
saman bb
daab24be16 basics for landuse styles, still needs pattern fills. 2013-03-06 19:37:00 -05:00
Ansis Brammanis
928cade41b oneway markers on rivers and streams 2013-03-06 17:51:31 -05:00
Ansis Brammanis
bd3302611e fix area style for highway=pedestrian 2013-03-06 15:17:57 -05:00
Ansis Brammanis
116e03c6d6 tweak point label halo 2013-03-06 14:22:52 -05:00
John Firebaugh
8a646b79cc Remove duplicate styles 2013-03-05 16:39:59 -08:00
John Firebaugh
00cd9c7e98 Use built in cursors on opera (fixes #865)
Opera chokes on the `url(…) n m` syntax and throws away the
whole style, so we have to use a separate declaration.
2013-03-01 11:01:26 -08:00
John Firebaugh
fa9c8a8484 Don't stroke railway=platform areas 2013-02-26 16:48:10 -08:00
Ansis Brammanis
d964d7fe28 remove highway=residential as default tag 2013-02-26 13:04:24 -05:00
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