[josm-dev] MapPaint Styles - combining line style and modifier

Sebastian Klein bastikln at googlemail.com
Mon Jul 19 10:06:05 BST 2010


Hi,

if I have the following style:

<rule>
 <condition k="highway" v="motorway"/>
 <line width="15" realwidth="15" colour="00f496" priority="1000"/>
 <linemod mode="over" width="+70" colour="00ff00" dashed="7"/>
</rule>

it ignores the "over" line modifier. This is because of l. 144 in
ElemStyles.java:

  over.remove(linestring);

(Where linestring is the condition key for the line style.)

Is there a reason for this behaviour or can we remove the line?


Sebastian




More information about the josm-dev mailing list