Relax type slightly

This commit is contained in:
Tom Payne
2013-01-12 23:13:34 +01:00
parent 0f8e3ddedc
commit 8b39e8f7f0

View File

@@ -260,10 +260,9 @@ ol.renderer.dom.TileLayerZ_ = function(tileGrid, tileCoordOrigin) {
/** /**
* @private * @private
* @type {!ol.Coordinate} * @type {ol.Coordinate}
*/ */
this.origin_ = /** @type {!ol.Coordinate} */ this.origin_ = tileGrid.getTileCoordExtent(tileCoordOrigin).getTopLeft();
(tileGrid.getTileCoordExtent(tileCoordOrigin).getTopLeft());
/** /**
* @private * @private
@@ -330,7 +329,7 @@ ol.renderer.dom.TileLayerZ_.prototype.finalizeAddTiles = function() {
/** /**
* @return {!ol.Coordinate} Origin. * @return {ol.Coordinate} Origin.
*/ */
ol.renderer.dom.TileLayerZ_.prototype.getOrigin = function() { ol.renderer.dom.TileLayerZ_.prototype.getOrigin = function() {
return this.origin_; return this.origin_;