Make sure we don't generate any floating point DPI values for ol.source.TileArcGISRest
This commit is contained in:
@@ -111,7 +111,7 @@ ol.source.TileArcGISRest.prototype.getRequestUrl_ =
|
||||
params['BBOX'] = tileExtent.join(',');
|
||||
params['BBOXSR'] = srid;
|
||||
params['IMAGESR'] = srid;
|
||||
params['DPI'] = 90 * pixelRatio;
|
||||
params['DPI'] = Math.round(90 * pixelRatio);
|
||||
|
||||
var url;
|
||||
if (urls.length == 1) {
|
||||
|
||||
Reference in New Issue
Block a user