[OSM-talk] how to prevent osmarender from filling a circular way

Matthias Julius lists at julius-net.net
Thu Oct 2 17:35:27 BST 2008


"Ed Loach" <ed at loach.me.uk> writes:

> Kenneth wrote:
>
>> hi,
>> 
>> I have the following code:
>> 
>> .golf-yellowhazard {
>> 					stroke-width: .2px;
>> 					stroke: #f9f605;
>> 					stroke-dasharray: 1, 1;
>> 					fill: none;
>> 
>> this is supposed to draw a dashed yellow line. But when the
>> line is closed,
>> the area gets a black fill. How to avoid that?
>
> Instead of a closed single way, add it as two separate ways that
> join at either end (if I've understood the problem correctly).

This is a workaround, not a solution.  (And we don't tag for
renderers, right?)

There are many closed ways that don't get filled on the map, so there
must be a way.

Kenneth, are you sure there are not other CSS styles that apply to
your way?

Matthias




More information about the talk mailing list