Interactive maps

I want to develop a custom interactive map plugin because our point data is huge.
In order to optimize queries we want to load the visible part of the map view only and aggregated by zoom level.

Is there a way the panel plugin can propagate variables to the data source ?

Hello @sahbig

I think you may utilize render() or componentDidUpdate() methods of panel.
Not sure how to propagate variables to the data source. It may be helpful:

let value =[0].datasource // <- this holds your datasource name
let ds = getDataSourceSrv().loadDatasource(value) 

So you will have datasource instance and can query it then.

Hope this will help you,