diff --git a/vtm/src/org/oscim/layers/tile/vector/labeling/Debug.java b/vtm/src/org/oscim/layers/tile/vector/labeling/Debug.java index 3950e7d4..601a4ce9 100644 --- a/vtm/src/org/oscim/layers/tile/vector/labeling/Debug.java +++ b/vtm/src/org/oscim/layers/tile/vector/labeling/Debug.java @@ -1,5 +1,5 @@ /* - * Copyright 2013 + * Copyright 2013 Hannes Janetzek * * This program is free software: you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free Software @@ -53,10 +53,10 @@ class Debug { points[1] = (l.y - height * scale); points[2] = (l.x + width * scale); points[3] = (l.y + height * scale); - ll.addLine(points, null, false); + ll.addLine(points, 4, false); if (l.bbox != null && overlaps != 3) { - ll.addLine(l.bbox.corner, null, true); + ll.addLine(l.bbox.corner, 8, true); } } diff --git a/vtm/src/org/oscim/renderer/elements/LineLayer.java b/vtm/src/org/oscim/renderer/elements/LineLayer.java index 6090155f..0ea9ddf9 100644 --- a/vtm/src/org/oscim/renderer/elements/LineLayer.java +++ b/vtm/src/org/oscim/renderer/elements/LineLayer.java @@ -64,22 +64,6 @@ public final class LineLayer extends RenderElement { outlines = link; } - /** - * @deprecated - * @param points - * array of points as x,y pairs. - * @param index - * array of indices holding the length of the individual - * line coordinates (i.e. points * 2). - * when index is null one a line with points.length - * is assumed. - * @param closed - * whether to connect start- and end-point. - */ - public void addLine(float[] points, short[] index, boolean closed) { - addLine(points, index, -1, closed); - } - public void addLine(GeometryBuffer geom) { if (geom.isPoly()) addLine(geom.points, geom.index, -1, true);