Changeset 23192 in osm for applications/editors/josm/plugins/osmarender/src/org
- Timestamp:
- 2010-09-15T18:59:53+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
r21423 r23192 80 80 for (Node n : ((Way) p).getNodes()) { 81 81 if (n.getCoor().isWithin(b)) 82 82 parents.add(n); 83 83 } 84 84 } … … 87 87 // Write ways 88 88 for (OsmPrimitive p: parents) { 89 90 91 89 if (p instanceof Way) { 90 w.visit((Way)p); 91 } 92 92 } 93 93 94 94 // Write relations (should be parent relation also written?) 95 95 for (OsmPrimitive p: parents) { 96 97 98 96 if (p instanceof Relation) { 97 w.visit((Relation)p); 98 } 99 99 } 100 100 … … 120 120 121 121 public OsmarenderPlugin(PluginInformation info) throws IOException { 122 122 super(info); 123 123 osmarenderMenu = MainMenu.add(Main.main.menu.viewMenu, new Action()); 124 124 osmarenderMenu.setVisible(false);
Note:
See TracChangeset
for help on using the changeset viewer.