Map.gl panel plugin
Playground
Install Map.gl plugin from the Grafana catalog
Tutorial: Observing Zabbix events on a Geospatial Map
Features
- Optimized rendering of large datasets using WebGL
- Composite donut-chart cluster icons layer with fallback to icon layer
- Pop-up for a specific point or cluster with customizable fields
- Colored thresholds for metrics with pop-up labels
- Parent/child connections line layer with path to the root on select
- Selectable properties for pop-up
- Search for your points using customized fields
Required fields:
* Coordinates for points in any popular format
* Metric field if you wish to set color thresholds
Usage with PostGis
To use the plugin with PostGis, you need either to query longitude and latitude from a stored Point
, e.g.:
ST_X(ST_GeomFromEWKT(location_centroid)) AS \"longitude\"
ST_Y(ST_GeomFromEWKT(location_centroid)) AS \"latitude\"
Or query the GeoJSON shape, e.g.:
ST_AsGeoJSON(ST_GeomFromEWKT(location)) AS \"geojson\"
Usage with CrateDB
To use the plugin with CrateDB, you need either to query longitude and latitude from a stored Point
, e.g.:
longitude(location_centroid) AS \"longitude\"
latitude(location_centroid) AS \"latitude\"
Or query the GeoJSON field, e.g.:
* location AS \"geojson\"