John Firebaugh
ff85d57b82
Simplify
2013-03-15 14:49:57 -07:00
John Firebaugh
cc1bb50f0b
Fix shadow pointer events
2013-03-15 14:47:05 -07:00
Ansis Brammanis
e3d11daceb
fix path pointer-events regression
2013-03-15 16:53:24 -04:00
Ansis Brammanis
0a7b19efdc
nicer label halos
...
renders a second text with wider stroke
instead of drawing a block halo with a rect or path
2013-03-15 15:39:10 -04:00
John Firebaugh
2598c00838
Clean up shadow styles
2013-03-15 12:14:36 -07:00
saman bb
88101bd726
simpler point cursor.
2013-03-15 00:52:49 -04:00
John Firebaugh
51a217caa2
Refine tagged vertex rendering
...
Don't render tagged vertices for which we don't have
an icon as the 'marker' icon. Marker shape is for points.
2013-03-14 13:35:24 -07:00
John Firebaugh
364d93693b
Use traditional marker shape for points ( fixes #172 )
2013-03-14 11:22:10 -07:00
John Firebaugh
3787185182
Rendering tagged points
...
At z16 and below, tagged points are rendered with a small
dot in the center. At z17 and above, they are rendered with
a maki icon.
See the test rendering page for examples.
Fixes #381 .
2013-03-13 17:31:25 -07:00
John Firebaugh
2401a5a547
Fix tag-landuse-retail selectors
2013-03-13 12:53:11 -07:00
John Firebaugh
be567fb028
Render landuse=farm and landuse=farmland identically
...
See http://www.openstreetmap.org/user/Harry%20Wood/diary/14079
for an entertaining rant on this subject.
2013-03-12 13:12:07 -07:00
John Firebaugh
9f5ba8342d
Convert DragNode to a mode
...
This makes the CSS more consistent and makes fixing #953
easier. Also, dragging now clears the selection and closes
any operations menu, which is good.
There's still a minor Chrome bug: it doesn't refresh the
cursor when the .behavior-hover class is removed.
2013-03-11 15:45:27 -07:00
John Firebaugh
acd318b792
Fix drag node cursor over line casing
...
Was previously trying to exclude .area.fill, but this is
now handled by `pointer-events: none` below.
2013-03-11 14:23:02 -07:00
John Firebaugh
c4d772e9c2
Crosshair cursor when dragging node ( fixes #952 )
2013-03-11 14:23:02 -07:00
Ansis Brammanis
eeec54f15c
Use commercial landuse styles for retail too
2013-03-11 16:43:40 -04:00
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