Changeset 35388 in osm for applications/editors/josm/plugins/seachart/src/render/Rules.java
- Timestamp:
- 2020-03-21T09:42:31+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/render/Rules.java
r35120 r35388 356 356 return false; 357 357 } catch (Exception e) { 358 e.printStackTrace(); 358 359 return true; 359 360 } … … 979 980 fncSym = Landmarks.RadioTV; 980 981 Renderer.symbol(catSym); 981 if (catSym != Landmarks.Spire) 982 Renderer.symbol(fncSym); 982 Renderer.symbol(fncSym); 983 983 break; 984 984 case SILTNK: … … 1049 1049 ArrayList<CatSCF> scfs = (ArrayList<CatSCF>) getAttList(Obj.SMCFAC, Att.CATSCF); 1050 1050 for (CatSCF scf : scfs) { 1051 symbols.add(Facilities.Cats.get(scf)); 1051 Symbol sym = Facilities.Cats.get(scf); 1052 if (sym != null) symbols.add(sym); 1052 1053 } 1053 1054 Renderer.cluster(symbols); … … 1059 1060 switch ((CatMOR) getAttEnum(feature.type, Att.CATMOR)) { 1060 1061 case MOR_DLPN: 1061 Renderer.symbol(Harbours.Dolphin); 1062 if (feature.geom.prim == Pflag.AREA) { 1063 Renderer.lineVector(new LineStyle(Color.black, 4, Symbols.Yland)); 1064 } else { 1065 Renderer.symbol(Harbours.Dolphin); 1066 } 1062 1067 Signals.addSignals(); 1063 1068 break; … … 1079 1084 Renderer.symbol(Topmarks.TopMooring, Topmarks.BuoyDeltas.get(shape)); 1080 1085 Signals.addSignals(); 1086 addName(15, new Font("Arial", Font.BOLD, 40), new Delta(Handle.BL, AffineTransform.getTranslateInstance(60, -50))); 1081 1087 } 1082 1088 break; … … 1542 1548 } 1543 1549 } 1550 addName(15, new Font("Arial", Font.BOLD, 40), new Delta(Handle.BL, AffineTransform.getTranslateInstance(50, 0))); 1544 1551 if (Renderer.zoom >= 15) { 1545 1552 Renderer.labelText("V-AIS", new Font("Arial", Font.PLAIN, 40), Symbols.Msymb, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 70)));
Note:
See TracChangeset
for help on using the changeset viewer.