This plugin is a fork that fixes bugs and updates the Orchestra Cities Map plugin to the latest version.
This fork uses webpack to build the plugin and accepts as properties of a geojson a JSON, processing it and displaying its data nicely in the tooltip.
Orchestra Cities Map extends Grafana Geomap panel with several functionalities:
- Support for GeoJSON shapes
- Support for icons (icons supported are from FontAwesome)
- Support for pop up visualizations of data from a specific point
- Multiple layers for the different queries
- A new map layer leveraging Inverse distance weighting (IDW) interpolation for scattered data points using Shepard's method.
New customization options available for the markers layer:
- Cluster support with a lot of customization like distance and value to display
- A fully customizable pin with the possibility to change colors, shapes and sizes
- The possibility to select which properties to be displayed on the popup
Cluster options:
- Distance
- Min distance
Pin Options:
- Shape
- Size
- Customizable icon
- Shadow
- Gradient
Popup Options:
- Display a title
- Display the Timestamp
- Selectable properties
Options available for the IDW layer:
IDW options:
- Weight value to be used to create the interpolation, including min and max range
- Scale factor of the precision of the interpolation
- Show data values over the map
Pupup Options:
- Display a title
- Display the Timestamp
- Selectable properties
It requires Grafana >=8.2.0
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\"
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\"
Panels are the building blocks of Grafana. They allow you to visualize data in different ways. While Grafana has several types of panels already built-in, you can also build your own panel, to add support for other visualizations.
For more information about panels, refer to the documentation on Panels
See Contributing