add buildings too, not only ways
Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
This commit is contained in:
@@ -307,9 +307,11 @@ public class Maze {
|
||||
OsmReader reader = new OsmReader(infile.getCanonicalPath());
|
||||
reader.read();
|
||||
OsmToDrawing converter = new OsmToDrawing(reader, mulx,muly);
|
||||
Drawing drawing = converter.getDrawing(reader.getWays());
|
||||
Drawing ways = converter.getDrawing(reader.getWays());
|
||||
Drawing buildings = converter.getDrawing(reader.getBuildings());
|
||||
setStatusEnable(false);
|
||||
addDrawing(drawing,add);
|
||||
addDrawing(ways,add);
|
||||
addDrawing(buildings,add);
|
||||
setStatusEnable(true);
|
||||
} catch (IOException io) {
|
||||
io.printStackTrace(System.err);
|
||||
|
||||
Reference in New Issue
Block a user