grafana-trackmap-panel icon indicating copy to clipboard operation
grafana-trackmap-panel copied to clipboard

Does not seem to work at all?

Open hoegge opened this issue 2 years ago • 5 comments

Just installed the plugin from the Grafana site:

https://grafana.com/grafana/plugins/pr0ps-trackmap-panel/

image

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?

hoegge avatar Oct 12 '21 15:10 hoegge

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?

iandees avatar Oct 24 '21 02:10 iandees

Haveing the same problem. I'm running Grafana 8.3.3 with Docker.

error

However the Query returns the following results:

error_2

The following message apeared in Google Chrome which may help to find the problem:

image

hakkimakki avatar Jan 04 '22 10:01 hakkimakki

Any progress here ? Did someone find a fix other than duplicating the query ?

CourchesneA avatar Mar 09 '22 19:03 CourchesneA

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.

dmak avatar Apr 22 '22 15:04 dmak

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.

bauen1 avatar May 21 '22 09:05 bauen1