Changeset 3844 in josm for trunk/src/org/openstreetmap/josm/data/osm/Relation.java
- Timestamp:
- 2011-02-02T16:56:07+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r3719 r3844 371 371 } 372 372 373 public OsmPrimitiveType getDisplayType() { 374 return isMultipolygon() ? OsmPrimitiveType.MULTIPOLYGON 375 : OsmPrimitiveType.RELATION; 376 } 377 378 public boolean isMultipolygon() { 379 return "multipolygon".equals(get("type")); 380 } 381 373 382 @Override 374 383 public BBox getBBox() {
Note:
See TracChangeset
for help on using the changeset viewer.