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
+4 -4
View File
@@ -18,7 +18,7 @@ describe('ol.geom.Point', function() {
});
it('has the expected layout', function() {
expect(point.getLayout()).to.be(ol.geom.Layout.XY);
expect(point.getLayout()).to.be(ol.geom.GeometryLayout.XY);
});
it('has the expected coordinates', function() {
@@ -43,11 +43,11 @@ describe('ol.geom.Point', function() {
var point;
beforeEach(function() {
point = new ol.geom.Point([1, 2, 3], ol.geom.Layout.XYM);
point = new ol.geom.Point([1, 2, 3], ol.geom.GeometryLayout.XYM);
});
it('has the expected layout', function() {
expect(point.getLayout()).to.be(ol.geom.Layout.XYM);
expect(point.getLayout()).to.be(ol.geom.GeometryLayout.XYM);
});
it('has the expected coordinates', function() {
@@ -76,7 +76,7 @@ describe('ol.geom.Point', function() {
});
it('has the expected layout', function() {
expect(point.getLayout()).to.be(ol.geom.Layout.XYZM);
expect(point.getLayout()).to.be(ol.geom.GeometryLayout.XYZM);
});
it('has the expected coordinates', function() {