Ignore:
Timestamp:
2019-03-31T08:35:09+02:00 (5 years ago)
Author:
malcolmh
Message:

mooring buoys

File:
1 edited

Legend:

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

    r34906 r34955  
    10671067                                break;
    10681068                        case MOR_BUOY:
    1069                                 BoySHP shape = (BoySHP) getAttEnum(feature.type, Att.BOYSHP);
    1070                                 if (shape == BoySHP.BOY_UNKN) {
    1071                                         shape = BoySHP.BOY_SPHR;
    1072                                 }
    1073                                 Renderer.symbol(Buoys.Shapes.get(shape), getScheme(feature.type));
    1074                                 Renderer.symbol(Topmarks.TopMooring, Topmarks.BuoyDeltas.get(shape));
     1069                            if (Renderer.zoom >= 17) {
     1070                                BoySHP shape = (BoySHP) getAttEnum(feature.type, Att.BOYSHP);
     1071                                if (shape == BoySHP.BOY_UNKN) {
     1072                                    shape = BoySHP.BOY_SPHR;
     1073                                }
     1074                                Renderer.symbol(Buoys.Shapes.get(shape), getScheme(feature.type));
     1075                                Renderer.symbol(Topmarks.TopMooring, Topmarks.BuoyDeltas.get(shape));
     1076                            }
    10751077                                break;
    10761078                        default:
Note: See TracChangeset for help on using the changeset viewer.