Merge branch 'master' of github.com:openlayers/ol3

This commit is contained in:
Mike Adair
2012-06-22 08:12:25 -04:00
2 changed files with 21 additions and 0 deletions

View File

@@ -108,6 +108,14 @@ ol.layer.TileLayer.prototype.getExtent = function() {
return null;
};
/**
* Get tile size.
* @return {Array.<number>}
*/
ol.layer.TileLayer.prototype.getTileSize = function() {
return [this.tileWidth_, this.tileHeight_];
};
/**
* Get tile origin.
* @return {Array.<number>}