Ignore:
Timestamp:
2017-02-25T03:14:20+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #14402 - add blacklist for leisure area values to avoid false positives - improve globally the detection of keys/tags

File:
1 edited

Legend:

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

    r11493 r11608  
    388388                    addIfNotNull(sl, LineElement.createCasing(env));
    389389                    addIfNotNull(sl, LineTextElement.create(env));
    390                 } else if ("restriction".equals(osm.get("type"))) {
     390                } else if (osm.hasTag("type", "restriction")) {
    391391                    addIfNotNull(sl, NodeElement.create(env));
    392392                }
Note: See TracChangeset for help on using the changeset viewer.