Map get Freeze when latitude is null
Hualin-AUG opened this issue · comments
My data source is InfluxDB and I am using InfluxQL to query the data into table.
I find that when the query gets nothing in return, it will show a problem:
TypeError: Cannot read property 'lat' of null
And then you are not able to drag the map and move around anymore, i.e. the map freezes.
My dashboard and data: https://gist.github.com/Hualin-AUG/95c7e6b865a974f68f52e08ef2a6e5a3
Also, refer to grafana#291.
Hi Hualin,
thanks. I will try to look into that based on the information you provided.
With kind regards,
Andreas.
Leaftlet will crash if sending lat/lon or either as Null to it. The plugin grafana-map-panel must drop/filter this data. Same for (0,0) coordinates.