Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map get Freeze when latitude is null #88

Open
Hualin-AUG opened this issue Jan 25, 2021 · 2 comments
Open

Map get Freeze when latitude is null #88

Hualin-AUG opened this issue Jan 25, 2021 · 2 comments

Comments

@Hualin-AUG
Copy link

Hualin-AUG commented Jan 25, 2021

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.

@amotl
Copy link

amotl commented Jan 30, 2021

Hi Hualin,

thanks. I will try to look into that based on the information you provided.

With kind regards,
Andreas.

@xkilian
Copy link

xkilian commented Feb 16, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants