Changeset 11575 in josm for trunk/scripts


Ignore:
Timestamp:
2017-02-18T12:34:15+01:00 (7 years ago)
Author:
stoecker
Message:

see #12313 - add best marking and show it in image preferences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorImageryIndex.groovy

    r11574 r11575  
    564564    }
    565565    static String getQuality(Object e) {
    566         //if (e instanceof ImageryInfo) return "".equals(e.getQuality()) ? null : e.getQuality()
    567         if (e instanceof ImageryInfo) return null
    568         return e.get("properties").get("best") ? "best" : null
     566        if (e instanceof ImageryInfo) return e.isBestMarked() ? "eli-best" : null
     567        return e.get("properties").get("best") ? "eli-best" : null
    569568    }
    570569    static String getIcon(Object e) {
Note: See TracChangeset for help on using the changeset viewer.