Assign to this after super in WMTS tile grid

This commit is contained in:
Tim Schaub
2018-07-18 00:43:29 -06:00
parent 5f058e877f
commit 1e4ab17513

View File

@@ -55,11 +55,6 @@ class WMTSTileGrid extends TileGrid {
* @api
*/
constructor(options) {
/**
* @private
* @type {!Array.<string>}
*/
this.matrixIds_ = options.matrixIds;
super({
extent: options.extent,
origin: options.origin,
@@ -69,6 +64,12 @@ class WMTSTileGrid extends TileGrid {
tileSizes: options.tileSizes,
sizes: options.sizes
});
/**
* @private
* @type {!Array.<string>}
*/
this.matrixIds_ = options.matrixIds;
}
/**