sources and layers.

This commit is contained in:
Simon Seyock
2021-06-23 14:26:17 +02:00
committed by Andreas Hocevar
parent e9a161740a
commit 7fc664c3fe
10 changed files with 69 additions and 1 deletions
+11
View File
@@ -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, *>}
*/