Changeset 31717 in osm for applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java
- Timestamp:
- 2015-10-27T09:38:37+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java
r31156 r31717 66 66 } 67 67 map = new S57map(true); 68 MapBounds bounds = S57dec.decodeFile(in, map);68 S57dec.decodeChart(in, map); 69 69 70 70 in.close(); … … 186 186 OsmDataLayer layer = new OsmDataLayer(data, "S-57 Import", null); 187 187 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)); 189 189 PanelMain.setStatus("Import done", Color.green); 190 190 }
Note:
See TracChangeset
for help on using the changeset viewer.