Add docs for tilePixelRatio
This commit is contained in:
@@ -2824,7 +2824,10 @@ olx.source.TileImageOptions.prototype.tileLoadFunction;
|
||||
|
||||
|
||||
/**
|
||||
* Tile pixel ratio.
|
||||
* The pixel ratio used by the tile service. For example, if the tile
|
||||
* service advertizes 256px by 256px tiles but actually sends 512px
|
||||
* by 512px images (for retina/hidpi devices) then `tilePixelRatio`
|
||||
* should be set to `2`. Default is `1`.
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
olx.source.TileImageOptions.prototype.tilePixelRatio;
|
||||
@@ -4262,7 +4265,10 @@ olx.source.WMTSOptions.prototype.style;
|
||||
|
||||
|
||||
/**
|
||||
* Tile pixel ratio.
|
||||
* The pixel ratio used by the tile service. For example, if the tile
|
||||
* service advertizes 256px by 256px tiles but actually sends 512px
|
||||
* by 512px images (for retina/hidpi devices) then `tilePixelRatio`
|
||||
* should be set to `2`. Default is `1`.
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
olx.source.WMTSOptions.prototype.tilePixelRatio;
|
||||
|
||||
Reference in New Issue
Block a user