Add tilePixelRatio option to ol.source.XYZ

This commit is contained in:
Petr Pridal
2014-07-06 01:30:05 +02:00
committed by Éric Lemoine
parent aafa578805
commit 1a933febcd
4 changed files with 105 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ ol.source.XYZ = function(options) {
projection: projection,
tileGrid: tileGrid,
tileLoadFunction: options.tileLoadFunction,
tilePixelRatio: options.tilePixelRatio,
tileUrlFunction: ol.TileUrlFunction.nullTileUrlFunction
});