Fix vector tile rotation on HiDPI devices
This commit is contained in:
@@ -121,7 +121,7 @@ ol.source.TileArcGISRest.prototype.getRequestUrl_ = function(tileCoord, tileSize
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.source.TileArcGISRest.prototype.getTilePixelRatio = function(pixelRatio) {
|
||||
return pixelRatio;
|
||||
return /** @type {number} */ (pixelRatio);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user