Rename ol.geom.Layout to ol.geom.GeometryLayout

This commit is contained in:
Tom Payne
2013-12-04 16:27:03 +01:00
parent 600cb3a0ff
commit c2228b1d19
13 changed files with 71 additions and 70 deletions

View File

@@ -18,7 +18,7 @@ describe('ol.geom.LineString', function() {
});
it('defaults to layout XY', function() {
expect(lineString.getLayout()).to.be(ol.geom.Layout.XY);
expect(lineString.getLayout()).to.be(ol.geom.GeometryLayout.XY);
});
it('has empty coordinates', function() {
@@ -47,7 +47,7 @@ describe('ol.geom.LineString', function() {
});
it('has the expected layout', function() {
expect(lineString.getLayout()).to.be(ol.geom.Layout.XY);
expect(lineString.getLayout()).to.be(ol.geom.GeometryLayout.XY);
});
it('has the expected coordinates', function() {
@@ -76,7 +76,7 @@ describe('ol.geom.LineString', function() {
});
it('has the expected layout', function() {
expect(lineString.getLayout()).to.be(ol.geom.Layout.XYZ);
expect(lineString.getLayout()).to.be(ol.geom.GeometryLayout.XYZ);
});
it('has the expected coordinates', function() {
@@ -102,11 +102,11 @@ describe('ol.geom.LineString', function() {
var lineString;
beforeEach(function() {
lineString = new ol.geom.LineString(
[[1, 2, 3], [4, 5, 6]], ol.geom.Layout.XYM);
[[1, 2, 3], [4, 5, 6]], ol.geom.GeometryLayout.XYM);
});
it('has the expected layout', function() {
expect(lineString.getLayout()).to.be(ol.geom.Layout.XYM);
expect(lineString.getLayout()).to.be(ol.geom.GeometryLayout.XYM);
});
it('has the expected coordinates', function() {
@@ -135,7 +135,7 @@ describe('ol.geom.LineString', function() {
});
it('has the expected layout', function() {
expect(lineString.getLayout()).to.be(ol.geom.Layout.XYZM);
expect(lineString.getLayout()).to.be(ol.geom.GeometryLayout.XYZM);
});
it('has the expected coordinates', function() {