Changeset 35693 in osm for applications
- Timestamp:
- 2021-02-01T10:33:15+01:00 (4 years ago)
- Location:
- applications/editors/josm/plugins/seachart/src/render
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/render/Rules.java
r35685 r35693 183 183 else 184 184 return null; 185 if (( item = atts.get(att)) == null)185 if ((atts == null) || ((item = atts.get(att)) == null)) 186 186 return null; 187 187 else … … 703 703 704 704 private static void cables() { 705 if ((Renderer.zoom >= 16) && (feature.geom.length < 2 )) {705 if ((Renderer.zoom >= 16) && (feature.geom.length < 20)) { 706 706 if (feature.type == Obj.CBLSUB) { 707 707 Renderer.lineSymbols(Areas.Cable, 0.0, null, null, 0, Symbols.Mline); … … 1300 1300 1301 1301 private static void pipelines() { 1302 if ((Renderer.zoom >= 16) && (feature.geom.length < 2 )) {1302 if ((Renderer.zoom >= 16) && (feature.geom.length < 20)) { 1303 1303 if (feature.type == Obj.PIPSOL) { 1304 1304 switch ((CatPIP) getAttEnum(feature.type, Att.CATPIP)) { -
applications/editors/josm/plugins/seachart/src/render/Signals.java
r35687 r35693 617 617 } 618 618 } else { 619 if ((Renderer.zoom >= 15) && (lights.get(0) != null)) {620 AttMap atts = lights.get(0);619 AttMap atts = lights.get(0); 620 if ((Renderer.zoom >= 15) && (atts != null)) { 621 621 ArrayList<CatLIT> cats = new ArrayList<>(); 622 622 if (atts.containsKey(Att.CATLIT)) {
Note:
See TracChangeset
for help on using the changeset viewer.