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
* @type {!ol.Coordinate}
* @type {ol.Coordinate}
*/
this.origin_ = /** @type {!ol.Coordinate} */
(tileGrid.getTileCoordExtent(tileCoordOrigin).getTopLeft());
this.origin_ = tileGrid.getTileCoordExtent(tileCoordOrigin).getTopLeft();
/**
* @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() {
return this.origin_;