ol.source.WMTS now passes tileClass option to ol.source.TileImage
The constructor for ol.source.TileImage accepts an option for the tileClass, but ol.source.WMTS does not pass this to the parent. This pull request adds that in.
This commit is contained in:
1 parent
74fd55a3e8
commit
5a2c206cab
2 files changed
+16
-2
No files matched your search
@@ -181,6 +181,7 @@ ol.source.WMTS = function(options) {
|
||||
crossOrigin: options.crossOrigin,
|
||||
logo: options.logo,
|
||||
projection: options.projection,
|
||||
tileClass: options.tileClass,
|
||||
tileGrid: tileGrid,
|
||||
tileLoadFunction: options.tileLoadFunction,
|
||||
tilePixelRatio: options.tilePixelRatio,
|
||||
|
||||
Reference in new issue
Block a user