Merge pull request #13261 from XiaofengZeng/ToFixAPIDoc
add @api comment on getAllLayers method
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user