Index: osm-map-features-z17.xml =================================================================== --- osm-map-features-z17.xml (revision 8737) +++ osm-map-features-z17.xml (working copy) @@ -293,82 +293,82 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -871,108 +871,82 @@ - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + @@ -2139,7 +2113,7 @@ stroke: white; font-family: "DejaVu Sans"; font-weight: normal; - text-anchor: middle; + text-anchor: middle; } .highway-name { @@ -2175,6 +2149,8 @@ stroke-linecap: butt; stroke-linejoin: round; fill: none; + marker-start: url(#marker-tunnel-start); + marker-end: url(#marker-tunnel-end); } .tunnel-core { @@ -3446,13 +3422,6 @@ fill: white; } - .highway-tunnel-ends { - stroke-opacity: 0; - fill: none; - marker-start: url(#marker-tunnel-start); - marker-end: url(#marker-tunnel-end); - } - /* Osmarender built-in styles - do not remove */ .osmarender-stroke-linecap-round { stroke-linecap: round; } .osmarender-stroke-linecap-butt { stroke-linecap: butt; } @@ -3460,7 +3429,6 @@ .osmarender-mask-white { stroke: white; } .osmarender-no-marker-start { marker-start: none; } .osmarender-no-marker-end { marker-end: none; } - @@ -3601,11 +3569,34 @@ - - + + - - + + + Index: osmarender.xsl =================================================================== --- osmarender.xsl (revision 8737) +++ osmarender.xsl (working copy) @@ -446,11 +446,27 @@ Foundation, Inc., 59 Temple Place, Suite + + + + + + + + + osmarender-no-marker-start + osmarender-no-marker-end + + + + @@ -458,6 +474,7 @@ Foundation, Inc., 59 Temple Place, Suite + @@ -469,6 +486,7 @@ Foundation, Inc., 59 Temple Place, Suite + + - osmarender-no-marker-start + osmarender-no-marker-start - osmarender-stroke-linecap-butt osmarender-no-marker-start + osmarender-stroke-linecap-butt osmarender-no-marker-start - osmarender-stroke-linecap-round osmarender-no-marker-start + osmarender-stroke-linecap-round osmarender-no-marker-start