Changeset 31736 in osm for applications/editors
- Timestamp:
- 2015-11-08T10:26:14+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java
r31717 r31736 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(Math.toDegrees(map.bounds.minlat), Math.toDegrees(map.bounds.minlon), Math.toDegrees(map.bounds.maxlat), Math.toDegrees(map.bounds.maxlon))); 189 189 PanelMain.setStatus("Import done", Color.green); 190 190 } … … 199 199 Snode snode = map.nodes.get(feature.geom.elems.get(0).id); 200 200 if (snode.flg == S57map.Nflag.DPTH) { 201 keys.put("seamark:sounding:depth", ((Double)(( Dnode)snode).val).toString());201 keys.put("seamark:sounding:depth", ((Double)((Snode)snode).val).toString()); 202 202 } 203 203 }
Note:
See TracChangeset
for help on using the changeset viewer.