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

@@ -25,7 +25,7 @@ fetch('data/WMTSCapabilities.xml').then(function(response) {
}),
new TileLayer({
opacity: 1,
source: new WMTS(/** @type {!olx.source.WMTSOptions} */ (options))
source: new WMTS(/** @type {!module:ol/source/WMTS~Options} */ (options))
})
],
target: 'map',