Changeset 30932 in osm


Ignore:
Timestamp:
2015-02-01T13:06:30+01:00 (10 years ago)
Author:
malcolmh
Message:

add COMCHA to RDOCAL

File:
1 edited

Legend:

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

    r30899 r30932  
    485485                        }
    486486                        Renderer.symbol(feature, symb, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(orient))));
     487                        String chn;
     488                        if ((chn = (String) getAttVal(feature, feature.type, 0, Att.COMCHA)) != null) {
     489                                Renderer.labelText(feature, ("Ch." + chn), new Font("Arial", Font.PLAIN, 50), Color.black, new Delta(Handle.TC, AffineTransform.getTranslateInstance(0,50)));
     490                        }
    487491                }
    488492        }
Note: See TracChangeset for help on using the changeset viewer.