Round the DPI value in ol.source.ImageArcGISRest
This commit is contained in:
@@ -208,7 +208,7 @@ ol.source.ImageArcGISRest.prototype.getRequestUrl_ = function(extent, size, pixe
|
||||
params['BBOX'] = extent.join(',');
|
||||
params['BBOXSR'] = srid;
|
||||
params['IMAGESR'] = srid;
|
||||
params['DPI'] = 90 * pixelRatio;
|
||||
params['DPI'] = Math.round(90 * pixelRatio);
|
||||
|
||||
var url = this.url_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user