Fix vector tile rotation on HiDPI devices

This commit is contained in:
Andreas Hocevar
2016-08-27 19:58:38 +02:00
parent fe6fe702b2
commit cb7c15c767
9 changed files with 52 additions and 11 deletions

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);
};