Merge pull request #5790 from ahocevar/fix-pixelratio

Fix vector tile rotation on HiDPI devices
This commit is contained in:
Andreas Hocevar
2016-08-29 11:04:55 +02:00
parent 92cc26596d
commit ffefda132a
9 changed files with 52 additions and 11 deletions
+1 -1
View File
@@ -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);
};