sources and layers.
This commit is contained in:
committed by
Andreas Hocevar
parent
e9a161740a
commit
7fc664c3fe
@@ -8,6 +8,11 @@ import {assert} from '../asserts.js';
|
||||
import {assign} from '../obj.js';
|
||||
import {clamp} from '../math.js';
|
||||
|
||||
/**
|
||||
* @typedef {import("../ObjectEventType").Types|'change:extent'|'change:maxResolution'|'change:maxZoom'|
|
||||
* 'change:minResolution'|'change:minZoom'|'change:opacity'|'change:visible'|'change:zIndex'} BaseLayerObjectEventTypes
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
|
||||
@@ -47,6 +52,12 @@ class BaseLayer extends BaseObject {
|
||||
constructor(options) {
|
||||
super();
|
||||
|
||||
/***
|
||||
* @type {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default> &
|
||||
* import("../Observable").OnSignature<BaseLayerObjectEventTypes, import("../Object").ObjectEvent>}
|
||||
*/
|
||||
this.on;
|
||||
|
||||
/**
|
||||
* @type {Object<string, *>}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user