cleanups
This commit is contained in:
parent
e3f12c3c2c
commit
98aa29104f
@ -127,13 +127,8 @@ public class ExtrusionLayer extends Layer {
|
|||||||
|
|
||||||
// check: drop last point from explicitly closed rings
|
// check: drop last point from explicitly closed rings
|
||||||
int len = length;
|
int len = length;
|
||||||
// if (!MapView.enableClosePolygons) {
|
|
||||||
// len -= 2;
|
|
||||||
// } else
|
|
||||||
if (points[ppos] == points[ppos + len - 2]
|
if (points[ppos] == points[ppos + len - 2]
|
||||||
&& points[ppos + 1] == points[ppos + len - 1]) {
|
&& points[ppos + 1] == points[ppos + len - 1]) {
|
||||||
// vector-tile-map does not produce implicty closed
|
|
||||||
// polygons (yet)
|
|
||||||
len -= 2;
|
len -= 2;
|
||||||
Log.d(TAG, "explicit closed poly " + len);
|
Log.d(TAG, "explicit closed poly " + len);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user