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

@@ -352,7 +352,7 @@ WMTS.prototype.updateDimensions = function(dimensions) {
* - format - {string} Image format for the layer. Default is the first
* format returned in the GetCapabilities response.
* - crossOrigin - {string|null|undefined} Cross origin. Default is `undefined`.
* @return {?olx.source.WMTSOptions} WMTS source options object or `null` if the layer was not found.
* @return {?module:ol/source/WMTS~Options} WMTS source options object or `null` if the layer was not found.
* @api
*/
export function optionsFromCapabilities(wmtsCap, config) {