Ignore:
Timestamp:
2009-05-30T17:24:29+02:00 (15 years ago)
Author:
stoecker
Message:

close #2426 - now mappaint handles area types which require closed ways (e.g. cliff) correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyleHandler.java

    r1583 r1629  
    7373        System.out.println(styleName + " (" + rule.key + "=" + rule.value + "): " + message);
    7474    }
    75    
     75
    7676    private void startElementLine(String qName, Attributes atts, LineElemStyle line) {
    7777        for (int count=0; count<atts.getLength(); count++)
     
    110110                    if(dashed) {
    111111                        line.dashed = 9;
    112                     }               
     112                    }
    113113                }
    114114            } else if (atts.getQName(count).equals("dashedcolour"))
     
    194194                    if (atts.getQName(count).equals("colour"))
    195195                        rule.area.color=convertColor(atts.getValue(count));
     196                    else if (atts.getQName(count).equals("closed"))
     197                        rule.area.closed=Boolean.parseBoolean(atts.getValue(count));
    196198                    else if(atts.getQName(count).equals("priority"))
    197199                        rule.area.priority = Integer.parseInt(atts.getValue(count));
Note: See TracChangeset for help on using the changeset viewer.