grafana / worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
MIT License
309 stars 199 forks source link

New points shown on load of world map #196

Open mariomann opened 5 years ago

mariomann commented 5 years ago

Hi,

I'm using your amazing world-map panel but there is an annoying bug. I'll try to explain, first my setup:

Grafana: 6.1.2 World-map panel: 0.2.0 Datasource: InfluxDB 1.7 Browser: Chrome Version 73.0.3683.86

I use my own json map data mapping --> json endpoint, where an url with a json file is located

Bildschirmfoto 2019-04-16 um 21 15 15

for example:

{ "key": "eu-ireland", "latitude": 53.350140, "longitude": -6.266155, "name": "Ireland" }, { "key": "eu-frankfurt", "latitude": 50.110924, "longitude": 8.682127, "name": "Frankfurt" }

My query looks as follows:

Bildschirmfoto 2019-04-16 um 21 18 03

Now, there is the following situation:

When enabling the "Disable cache" option in Chrome developer tools, then the world map and the points are shown correctly.

Is there an caching issue?

douginoz commented 2 years ago

I think I have roughly the same problem but it's 2021 and I'm using the latest grafana, worldmap, etc. on ubuntu and latest Firefox and Google Chrome. I have a very simple map display that works fine. But the dots don't appear unless I use the mouse to move the map a bit, then they appear. This has been the case for about 2 years but I'm only just getting back into grafana and installed the latest of everything, but the quirk remains. Worldmap Panel 0.3.3 Firefox 93.0 Google Chrome 95.0.4638.54 Ubuntu (server: 20.04) (desktop/client using grafana: kubuntu 21.10) Grafana 8.2.2 worldmapjson.txt

Example data: Time: "2021-10-22 15:22:26" full_location: "British Columbia - Victoria" latitude: "48.5" longitude: "-124" name: "" metric: "1"