Added tileClass to TileWMS
This commit is contained in:
@@ -6155,6 +6155,9 @@ olx.source.TileJSONOptions.prototype.wrapX;
|
|||||||
* gutter: (number|undefined),
|
* gutter: (number|undefined),
|
||||||
* hidpi: (boolean|undefined),
|
* hidpi: (boolean|undefined),
|
||||||
* logo: (string|olx.LogoOptions|undefined),
|
* logo: (string|olx.LogoOptions|undefined),
|
||||||
|
* tileClass: (function(new: ol.ImageTile, ol.TileCoord,
|
||||||
|
* ol.TileState, string, ?string,
|
||||||
|
* ol.TileLoadFunctionType)|undefined),
|
||||||
* tileGrid: (ol.tilegrid.TileGrid|undefined),
|
* tileGrid: (ol.tilegrid.TileGrid|undefined),
|
||||||
* projection: ol.ProjectionLike,
|
* projection: ol.ProjectionLike,
|
||||||
* reprojectionErrorThreshold: (number|undefined),
|
* reprojectionErrorThreshold: (number|undefined),
|
||||||
@@ -6237,6 +6240,16 @@ olx.source.TileWMSOptions.prototype.hidpi;
|
|||||||
olx.source.TileWMSOptions.prototype.logo;
|
olx.source.TileWMSOptions.prototype.logo;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class used to instantiate image tiles. Default is {@link ol.ImageTile}.
|
||||||
|
* @type {function(new: ol.ImageTile, ol.TileCoord,
|
||||||
|
* ol.TileState, string, ?string,
|
||||||
|
* ol.TileLoadFunctionType)|undefined}
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
olx.source.TileWMSOptions.prototype.tileClass;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tile grid. Base this on the resolutions, tilesize and extent supported by the
|
* Tile grid. Base this on the resolutions, tilesize and extent supported by the
|
||||||
* server.
|
* server.
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ ol.source.TileWMS = function(opt_options) {
|
|||||||
opaque: !transparent,
|
opaque: !transparent,
|
||||||
projection: options.projection,
|
projection: options.projection,
|
||||||
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
||||||
|
tileClass: options.tileClass,
|
||||||
tileGrid: options.tileGrid,
|
tileGrid: options.tileGrid,
|
||||||
tileLoadFunction: options.tileLoadFunction,
|
tileLoadFunction: options.tileLoadFunction,
|
||||||
url: options.url,
|
url: options.url,
|
||||||
|
|||||||
Reference in New Issue
Block a user