[ol.layer.TileLayer] tileOriginCorner is tl by default

This commit is contained in:
Éric Lemoine
2012-06-22 15:41:37 +02:00
parent ef06bee222
commit 1df7c048b8
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ ol.layer.TileLayer = function() {
* @private
* @type {string}
*/
this.tileOriginCorner_ = 'bl';
this.tileOriginCorner_ = 'tl';
/**
* @private

View File

@@ -70,7 +70,7 @@ describe('ol.layer.TileLayer', function() {
it('returns the expected origin', function() {
var origin = layer.getTileOrigin();
expect(origin).toEqual([-180, -90]);
expect(origin).toEqual([-180, 90]);
});
});