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.
This commit is contained in:
Tom MacWright
2013-03-06 21:08:50 -05:00
parent 15c37b86b9
commit 27c0edb2c1
4 changed files with 35 additions and 63 deletions
+4 -7
View File
@@ -695,17 +695,14 @@ text {
opacity: 1;
}
.oneway .textpath {
pointer-events: none;
font-size: 7px;
baseline-shift: 2px;
opacity: .7;
}
.oneway .textpath.tag-waterway {
fill: #002F35;
}
marker#oneway-marker path {
fill:#000;
}
text.tag-oneway {
fill:#91CFFF;
stroke:#2C6B9B;