septima-widget 0.0.0-dev-a3cc7 → 0.0.0-dev-22973
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/widgetapi.mjs +7 -0
package/package.json
CHANGED
package/widgetapi.mjs
CHANGED
|
@@ -203,6 +203,13 @@ export default class WidgetAPI {
|
|
|
203
203
|
this._controlsReady(() => this._widget.reloadLayer(layerId))
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
+
getLayers(filter) {
|
|
207
|
+
if (this._controlsAreReady) {
|
|
208
|
+
return this._widget.getLayers(filter)
|
|
209
|
+
}
|
|
210
|
+
return []
|
|
211
|
+
}
|
|
212
|
+
|
|
206
213
|
updateLayerParams(layerId, params) {
|
|
207
214
|
this._controlsReady(() => this._widget.updateLayerParams(layerId, params))
|
|
208
215
|
}
|