grafana-trackmap-panel
grafana-trackmap-panel copied to clipboard
Does not seem to work at all?
Just installed the plugin from the Grafana site:
https://grafana.com/grafana/plugins/pr0ps-trackmap-panel/
and restarted the Grafana server (runs in docker)
The map shows up in Grafana but the panel is just black and there are no options.
What can I try to find the problem?
I'm also having this problem. I'm running Grafana 8.2.2. The query is returning data with labels "latitude" and "longitude" successfully. What other information would be helpful to diagnose?
Haveing the same problem. I'm running Grafana 8.3.3 with Docker.
However the Query returns the following results:
The following message apeared in Google Chrome which may help to find the problem:
Any progress here ? Did someone find a fix other than duplicating the query ?
Same issue after upgrading Grafana from 7.x to 8.x – the plugin stopped working. It shows the map / globe, but does not show the track. Query returns the valid data as the query works flawlessly with built-in Geomap visualization.
I think I've found an issue with
https://github.com/pR0Ps/grafana-trackmap-panel/blob/974b0d29078696c2990c96f502e6bddca78c80df/src/trackmap_ctrl.js#L375-L380
this.leafMap.setView([0, 0], 1);
is never called if data is present, this leads to no map appearing, even if you have correct queries.
I've tested this by debugging in firefox, adding a breakpoint on the onDataReceived
method, when it is hit, switch to console, do
a = this
so it can be accessed later. Then hit continue. After this run a.leafMap.setView([0, 0], 1);
in the console and watch your data appear.