Fix indentation
This commit is contained in:
@@ -19,12 +19,12 @@ describe('ol.geom.flat.center', function() {
|
|||||||
|
|
||||||
it('calculates the centers of two squares', function() {
|
it('calculates the centers of two squares', function() {
|
||||||
var squareMultiPoly = new ol.geom.MultiPolygon([
|
var squareMultiPoly = new ol.geom.MultiPolygon([
|
||||||
[
|
[
|
||||||
[[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]
|
[[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
[[3, 0], [3, 1], [4, 1], [4, 0], [3, 0]]
|
[[3, 0], [3, 1], [4, 1], [4, 0], [3, 0]]
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
var got = ol.geom.flat.center.linearRingss(
|
var got = ol.geom.flat.center.linearRingss(
|
||||||
squareMultiPoly.flatCoordinates,
|
squareMultiPoly.flatCoordinates,
|
||||||
|
|||||||
Reference in New Issue
Block a user