Remove unnecessary local variable
This commit is contained in:
@@ -29,8 +29,6 @@ ol.source.TileVector = function(options) {
|
|||||||
projection: options.projection
|
projection: options.projection
|
||||||
});
|
});
|
||||||
|
|
||||||
var tileGrid = options.tileGrid;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {ol.tilegrid.TileGrid}
|
* @type {ol.tilegrid.TileGrid}
|
||||||
@@ -47,7 +45,7 @@ ol.source.TileVector = function(options) {
|
|||||||
* @private
|
* @private
|
||||||
* @type {ol.TileCoordTransformType}
|
* @type {ol.TileCoordTransformType}
|
||||||
*/
|
*/
|
||||||
this.tileCoordTransform_ = tileGrid.createTileCoordTransform();
|
this.tileCoordTransform_ = this.tileGrid_.createTileCoordTransform();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
|
|||||||
Reference in New Issue
Block a user