Correct type for WMTS source options

This commit is contained in:
Tim Schaub
2018-04-19 18:00:28 -06:00
parent 81693cefbf
commit c75b87a2a0
4 changed files with 4 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ fetch(url).then(function(response) {
options.projection = 'EPSG:3413';
options.wrapX = false;
layers['wmts3413'] = new TileLayer({
source: new WMTS(/** @type {!olx.source.WMTSOptions} */ (options))
source: new WMTS(/** @type {!module:ol/source/WMTS~Options} */ (options))
});
});