Merge pull request #13261 from XiaofengZeng/ToFixAPIDoc

add @api comment on getAllLayers method
This commit is contained in:
Andreas Hocevar authored and GitHub committed 2022-01-28 11:44:50 +01:00
commit 2c87fcb4f9
1 file changed
+1
+1
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 = [];