Changeset 3849 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java
- Timestamp:
- 2011-02-02T23:39:08+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java
r3848 r3849 80 80 if (osm instanceof Way && ((Way) osm).isClosed()) 81 81 return true; 82 if (osm instanceof Relation && "multipolygon".equals(osm.get("type")))82 if (osm instanceof Relation && ((Relation) osm).isMultipolygon()) 83 83 return true; 84 84 return false;
Note:
See TracChangeset
for help on using the changeset viewer.