From: Charles G. <cg...@lh...> - 2011-03-31 16:21:45
|
I made a stylesheet that rendered linestrings quite nicely with solid colors (showing congestion on roads). I drew a thicker line in black below the colored line and used a round line cap to give them a nice look. We'll these lines have the drawback that they cover the road details below them, like the road names, and I have been asked to make them semi-transparant. However once you start reducing the opacity things like drawing two lines over each other stop working well, and the end caps overlap and produce darker spots. If I change the line stroke-linecap to butt, and stroke-linejoin to miter but I see small gaps between them, especially on corners. If anyone has some general advice on this, please let me know, otherwise my specific questions are 1. Is there an opacity setting I am not seeing for the linecaps perhaps? 2. What combinations of options will give me a nice style at the ends of lines that don't meet others, but meet flush with adjoining lines without gaps or overlaps? I'd settle for flat line ends if the rest of the joints looked good. It appears google draws their congestion layer under their labels, I'm guessing for similar reasons! tia, charles |