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

Automatically zoom to existing points #222

Closed
birdayz opened this issue Sep 25, 2019 · 5 comments
Closed

Automatically zoom to existing points #222

birdayz opened this issue Sep 25, 2019 · 5 comments

Comments

@birdayz
Copy link

birdayz commented Sep 25, 2019

I did not find an option to have the map auto zoom to the existing points on the map. I always have to specific either the continents or lat/lng, etc from the dropdown box. Did i miss something?
Doing this statically is OK for some cases, but i have a case where the data is fetched based on a Variable..since this is completely different everything, it would help to auto zoom the map.
thanks !

@amotl
Copy link

amotl commented Sep 25, 2019

Dear Johannes,

as far as I can see, you will find this feature in our fork at https://github.com/hiveeyes/grafana-worldmap-panel.

With kind regards,
Andreas.

@amotl
Copy link

amotl commented Jan 12, 2020

Dear @birdayz,

have you been able to check the "Fit to data" feature of the improved Grafana Map Panel already?

The feature is described as:

Make the map viewport automatically fit the data within its geographic boundaries using two new control options. Toggling the Fit to data option will choose an optimal center and zoom level for covering the displayed data while the Zoom radius option will optionally override that zoom level by using a fixed zoom radius.

With kind regards,
Andreas.

@birdayz
Copy link
Author

birdayz commented Jan 13, 2020

Yeah, i'm using that fork. thanks

@birdayz birdayz closed this as completed Jan 13, 2020
@ManuelBu96
Copy link

Hello,
i am using Grafana 7 and the Worldmap-panel. I miss the option "Fit to data". Where can i find the option?

@SamuelBachar
Copy link

Automatic zoom in GeoMap with type of layer HeatMap is not working in my Grafana of version:

Grafana v10.4.2 (22809dea50)

Any help ? Fields are named correctly based on documentation here: https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/geomap/#location

I tried langitutde and longitutde as string and as numeric aswell. Not working for InfinityAPI using parsing option or UQL.

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

4 participants