Use imports for enum types
This commit is contained in:
@@ -46,7 +46,7 @@ import {listen, unlistenByKey} from '../events.js';
|
||||
* @typedef {Object} State
|
||||
* @property {import("./Layer.js").default} layer
|
||||
* @property {number} opacity Opacity, the value is rounded to two digits to appear after the decimal point.
|
||||
* @property {SourceState} sourceState
|
||||
* @property {import("../source/State.js").default} sourceState
|
||||
* @property {boolean} visible
|
||||
* @property {boolean} managed
|
||||
* @property {import("../extent.js").Extent} [extent]
|
||||
|
||||
@@ -104,7 +104,7 @@ class VectorTileLayer extends BaseVectorLayer {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {VectorTileRenderType}
|
||||
* @type {import("./VectorTileRenderType.js").default}
|
||||
*/
|
||||
this.renderMode_ = renderMode;
|
||||
|
||||
@@ -144,7 +144,7 @@ class VectorTileLayer extends BaseVectorLayer {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {VectorTileRenderType} The render mode.
|
||||
* @return {import("./VectorTileRenderType.js").default} The render mode.
|
||||
*/
|
||||
getRenderMode() {
|
||||
return this.renderMode_;
|
||||
|
||||
Reference in New Issue
Block a user