Add tilePixelRatio option to ol.source.TileImage

This commit is contained in:
Éric Lemoine
2014-06-18 13:33:57 +02:00
parent 4bcadc5b8d
commit 947eb2e949
2 changed files with 10 additions and 1 deletions

View File

@@ -2751,6 +2751,7 @@ olx.source.GPXOptions.prototype.urls;
* ol.TileLoadFunctionType)|undefined),
* tileGrid: (ol.tilegrid.TileGrid|undefined),
* tileLoadFunction: (ol.TileLoadFunctionType|undefined),
* tilePixelRatio: (number|undefined),
* tileUrlFunction: (ol.TileUrlFunctionType|undefined)}}
* @todo api
*/
@@ -2822,6 +2823,13 @@ olx.source.TileImageOptions.prototype.tileGrid;
olx.source.TileImageOptions.prototype.tileLoadFunction;
/**
* Tile pixel ratio.
* @type {number|undefined}
*/
olx.source.TileImageOptions.prototype.tilePixelRatio;
/**
* Optional function to get tile URL given a tile coordinate and the projection.
* @type {ol.TileUrlFunctionType|undefined}