Skip to content

Grafana panel plugin for selecting GeoJSON features on a map

License

Notifications You must be signed in to change notification settings

arrisde/map-select-panel

Repository files navigation

Map Select Panel for Grafana

MSP is a Grafana (>= 7.0) panel plugin for selecting features (like a point or an area) on a geographic map.

Why yet another map panel for Grafana when there are already so many? Most map panels are visualizing data on a map for monitoring purposes. Instead I needed a map panel for selecting geographic features that would capture the current selection as a dashboard variable in order to update the data shown in other panels (think selecting a sensor from a map and automatically updating a timeseries graph with its measurements). I couldn't find a panel that would do this, so I hacked Track Map Panel to do what I needed.

Demo

Features

  • Background map from a configurable tile server (see panel parameter Tileserver url).
  • Draws GeoJSON Points, Polygons and Multipolygons on top of the map.
  • Size for point markers as well as colors for polygons are configurable through panel parameters.
  • Clicking on a feature sets the dashboard variable selected to the corresponding id value.

Documentation

Install

  • Clone this repository into the plugins directory of your Grafana installation
  • Restart Grafana and find the panel under your available panel visualizations.

Alternatively, you can run Grafana inside a Docker container and mount the repository to /var/lib/grafana/plugins/map-select-panel.

Acknowledgements

License

The MIT License (MIT)

About

Grafana panel plugin for selecting GeoJSON features on a map

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published