Hi Team,
We are working on showing kpi per region across the nation and we thought this geomap might help us!
So we have a static geojson file with customized regions, each region has an “id” in geojson, this “id” can be linked to our kpi data in mysql db.
And our goal is:
- filter region with template variable (so only selected region from geojson is shown/popup)
- show regions in different colors based on kpi value from db datasource.
So far we have load our geojson in “dynamic geojson” layer as /public/gazetteer/test.geojson as blow:
The shapes can be shown in geomap panel (bravo!)
However i am confused about the dynamic part (very limited documentation about this alpha layer, other than “providing dynamic styling on geojson”), it asks for a data filter:
Which i guess should be a query of the geojson in “GeoJson URL”, but how can we query that? Can geojson in /public/ be added as a data source somehow? Is there any example on this?
Or “dynamic geojson” actually means we can generate geojson dynamically? rather than load the file into /public?
Thank you for any insights in this! And thanks for createing this wonderful geomap panel as well.