Changeset 7014 in josm for trunk


Ignore:
Timestamp:
2014-04-27T15:57:23+02:00 (10 years ago)
Author:
Don-vip
Message:

MapCSS: drop deprecated pattern-image support

Location:
trunk/src/org/openstreetmap/josm/gui/mappaint
Files:
1 deleted
2 edited

Legend:

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

    r7005 r7014  
    323323            if (osm instanceof Way) {
    324324                addIfNotNull(sl, AreaElemStyle.create(c));
    325                 addIfNotNull(sl, LinePatternElemStyle.create(env));
    326325                addIfNotNull(sl, RepeatImageElemStyle.create(env));
    327326                addIfNotNull(sl, LineElemStyle.createLine(env));
     
    341340                if (((Relation)osm).isMultipolygon()) {
    342341                    addIfNotNull(sl, AreaElemStyle.create(c));
    343                     addIfNotNull(sl, LinePatternElemStyle.create(env));
    344342                    addIfNotNull(sl, RepeatImageElemStyle.create(env));
    345343                    addIfNotNull(sl, LineElemStyle.createLine(env));
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java

    r6896 r7014  
    7575                value = val;
    7676            }
    77             if (key.equals(ICON_IMAGE) || key.equals(FILL_IMAGE) || key.equals("pattern-image") || key.equals(REPEAT_IMAGE)) {
     77            if (key.equals(ICON_IMAGE) || key.equals(FILL_IMAGE) || key.equals(REPEAT_IMAGE)) {
    7878                if (value instanceof String) {
    7979                    value = new IconReference((String) value, env.source);
Note: See TracChangeset for help on using the changeset viewer.