Remove unnecessary local variable

This commit is contained in:
Frederic Junod
2014-08-14 12:43:45 +02:00
parent 0f4e56978b
commit 102f214afe

View File

@@ -29,8 +29,6 @@ ol.source.TileVector = function(options) {
projection: options.projection
});
var tileGrid = options.tileGrid;
/**
* @private
* @type {ol.tilegrid.TileGrid}
@@ -47,7 +45,7 @@ ol.source.TileVector = function(options) {
* @private
* @type {ol.TileCoordTransformType}
*/
this.tileCoordTransform_ = tileGrid.createTileCoordTransform();
this.tileCoordTransform_ = this.tileGrid_.createTileCoordTransform();
/**
* @private