add @api comment on getAllLayers method

This commit is contained in:
XiaofengZeng
2022-01-19 11:25:17 +08:00
parent d46940acc0
commit 705a37935e

View File

@@ -667,6 +667,7 @@ class PluggableMap extends BaseObject {
/**
* Get all layers from all layer groups.
* @return {Array<import("./layer/Layer.js").default>} Layers.
* @api
*/
getAllLayers() {
const layers = [];