Simplify following renderer changes

This commit is contained in:
mike-000 authored and Andreas Hocevar committed 2020-03-31 16:03:11 +02:00
1 parent 190cd202a1
commit 3d8495742b
1 file changed
+1 -5
+1 -5
View File
@@ -725,11 +725,7 @@ class Graticule extends VectorLayer {
extent[0] = projectionExtent[0];
extent[2] = projectionExtent[2];
} else {
const worldsAway = Math.floor((center[0] - projectionExtent[0]) / worldWidth);
center[0] -= (worldsAway * worldWidth);
extent[0] -= (worldsAway * worldWidth);
extent[2] -= (worldsAway * worldWidth);
wrapX = !containsExtent(projectionExtent, extent);
wrapX = true;
}
}