Ignore:
Timestamp:
2011-02-02T16:56:07+01:00 (13 years ago)
Author:
stoecker
Message:

see #5899 - support different display of closed ways and areas

File:
1 edited

Legend:

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

    r3843 r3844  
    6767            while(parser.hasNext()) {
    6868            }
    69            
     69
    7070        } catch(IOException e) {
    7171            System.err.println(tr("Warning: failed to load Mappaint styles from ''{0}''. Exception was: {1}", url, e.toString()));
     
    278278                }
    279279            }
    280         } else if (osm instanceof Way || (osm instanceof Relation && "multipolygon".equals(osm.get("type")))) {
     280        } else if (osm instanceof Way || (osm instanceof Relation && ((Relation)osm).isMultipolygon())) {
    281281            WayPrototypesRecord p = new WayPrototypesRecord();
    282282            get(osm, pretendWayIsClosed || !(osm instanceof Way) || ((Way) osm).isClosed(), p, (useMinMaxScale ? scale : null), mc);
Note: See TracChangeset for help on using the changeset viewer.