Ignore:
Timestamp:
2018-01-01T17:48:08+01:00 (7 years ago)
Author:
donvip
Message:

see #josm15713 - Add dirty-mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TileSourceInfo.java

    r32051 r33971  
    4141    protected Map<String, String> metadataHeaders;
    4242
     43    /** supports "/dirty" mode (tile re-rendering) */
     44    protected boolean dirtyMode;
     45
    4346    /**
    4447     * Create a TileSourceInfo class
     
    188191        this.id = id;
    189192    }
     193
     194    /**
     195     * Determines if this imagery supports "/dirty" mode (tile re-rendering).
     196     * @return <code>true</code> if it supports "/dirty" mode (tile re-rendering)
     197     */
     198    public final boolean isDirtyMode() {
     199        return dirtyMode;
     200    }
     201
     202    /**
     203     * Sets whether this imagery supports "/dirty" mode (tile re-rendering).
     204     * @param dirtyMode <code>true</code> if it supports "/dirty" mode (tile re-rendering)
     205     */
     206    public final void setDirtyMode(boolean dirtyMode) {
     207        this.dirtyMode = dirtyMode;
     208    }
    190209}
Note: See TracChangeset for help on using the changeset viewer.