Add pixelRatio to ol.source.Image#createImage

This commit is contained in:
Frederic Junod
2013-12-16 12:08:11 +01:00
parent ca0b77d0e3
commit 78ec21fb85
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ ol.source.ImageStatic = function(options) {
* @type {ol.Image}
*/
this.image_ = this.createImage(
imageExtent, imageResolution, imageSize, projection);
imageExtent, imageResolution, 1, imageSize, projection);
};
goog.inherits(ol.source.ImageStatic, ol.source.Image);