Ignore:
Timestamp:
2017-12-09T16:13:19+01:00 (7 years ago)
Author:
malcolmh
Message:

illuminated topmarks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Rules.java

    r33943 r33947  
    558558                                if (feature.objs.containsKey(Obj.TOPMAR)) {
    559559                                        AttMap topmap = feature.objs.get(Obj.TOPMAR).get(0);
     560                                        if (topmap.containsKey(Att.STATUS) && (testAttribute(Obj.TOPMAR, Att.STATUS, StsSTS.STS_ILLD))) {
     561                                                Renderer.symbol(Beacons.Floodlight);
     562                                        }
    560563                                        if (topmap.containsKey(Att.TOPSHP)) {
    561564                                                if (topmap.containsKey(Att.ORIENT)) {
     
    566569                                } else if (feature.objs.containsKey(Obj.DAYMAR)) {
    567570                                        AttMap topmap = feature.objs.get(Obj.DAYMAR).get(0);
     571                                        if (topmap.containsKey(Att.STATUS) && (testAttribute(Obj.DAYMAR, Att.STATUS, StsSTS.STS_ILLD))) {
     572                                                Renderer.symbol(Beacons.Floodlight);
     573                                        }
    568574                                        if (topmap.containsKey(Att.TOPSHP)) {
    569575                                                if (topmap.containsKey(Att.ORIENT)) {
Note: See TracChangeset for help on using the changeset viewer.