Minor type fix in ol.reproj.Image

This commit is contained in:
Petr Sloup
2015-08-24 17:45:38 +02:00
parent 615b54eb67
commit aad5f94556

View File

@@ -21,8 +21,7 @@ goog.require('ol.reproj.Triangulation');
* @param {ol.Extent} targetExtent
* @param {number} targetResolution
* @param {number} pixelRatio
* @param {function(ol.Extent, number, number, ol.proj.Projection) :
* ol.ImageBase} getImageFunction
* @param {function(ol.Extent, number, number):ol.ImageBase} getImageFunction
*/
ol.reproj.Image = function(sourceProj, targetProj,
targetExtent, targetResolution, pixelRatio, getImageFunction) {
@@ -74,8 +73,7 @@ ol.reproj.Image = function(sourceProj, targetProj,
* @private
* @type {ol.ImageBase}
*/
this.srcImage_ = getImageFunction(srcExtent, sourceResolution,
pixelRatio, sourceProj);
this.srcImage_ = getImageFunction(srcExtent, sourceResolution, pixelRatio);
var width = ol.extent.getWidth(targetExtent) / targetResolution;
var height = ol.extent.getHeight(targetExtent) / targetResolution;