Changeset 32093 in osm for applications/editors/josm/plugins/seachart/src/render/Rules.java
- Timestamp:
- 2016-03-03T17:21:33+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/render/Rules.java
r32090 r32093 628 628 } 629 629 630 @SuppressWarnings("unchecked") 630 631 private static void floats() { 631 632 if (Renderer.zoom >= 12) { … … 643 644 break; 644 645 } 645 if (feature.objs.get(Obj.TOPMAR) != null) 646 Renderer.symbol(Topmarks.Shapes.get(feature.objs.get(Obj.TOPMAR).get(0).get(Att.TOPSHP).val), getScheme(Obj.TOPMAR), Topmarks.FloatDelta); 646 if (feature.objs.containsKey(Obj.TOPMAR)) { 647 AttMap topmap = feature.objs.get(Obj.TOPMAR).get(0); 648 if (topmap.containsKey(Att.TOPSHP)) { 649 Renderer.symbol(Topmarks.Shapes.get(((ArrayList<TopSHP>)(topmap.get(Att.TOPSHP).val)).get(0)), getScheme(Obj.TOPMAR), Topmarks.FloatDelta); 650 } 651 } else if (feature.objs.containsKey(Obj.DAYMAR)) { 652 AttMap topmap = feature.objs.get(Obj.DAYMAR).get(0); 653 if (topmap.containsKey(Att.TOPSHP)) { 654 Renderer.symbol(Topmarks.Shapes.get(((ArrayList<TopSHP>)(topmap.get(Att.TOPSHP).val)).get(0)), getScheme(Obj.DAYMAR), Topmarks.FloatDelta); 655 } 656 } 647 657 addName(15, new Font("Arial", Font.BOLD, 40), new Delta(Handle.BL, AffineTransform.getTranslateInstance(20, -50))); 648 658 Signals.addSignals();
Note:
See TracChangeset
for help on using the changeset viewer.
