Ignore:
Timestamp:
2015-10-27T09:38:37+01:00 (9 years ago)
Author:
malcolmh
Message:

[seachartedit] fix errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java

    r31156 r31717  
    6666                }
    6767                map = new S57map(true);
    68                 MapBounds bounds = S57dec.decodeFile(in, map);
     68                S57dec.decodeChart(in, map);
    6969
    7070                in.close();
     
    186186                OsmDataLayer layer = new OsmDataLayer(data, "S-57 Import", null);
    187187                Main.map.mapView.addLayer(layer);
    188                 Main.map.mapView.zoomTo(new Bounds(bounds.minlat, bounds.minlon, bounds.maxlat, bounds.maxlon));
     188//              Main.map.mapView.zoomTo(new Bounds(bounds.minlat, bounds.minlon, bounds.maxlat, bounds.maxlon));
    189189                PanelMain.setStatus("Import done", Color.green);
    190190        }
Note: See TracChangeset for help on using the changeset viewer.