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

"Zoom map to fit data bounds" option not zooming

Open ElBalsero opened this issue 4 years ago • 4 comments

Hi, I have the last version of the plugin (just downloaded) running on Grafana 7.5.5. When I center in the first point, it zooms there according to the zoom parameters. Same for the last point. However, when using the option "Zoom map to fit data bounds", the map remains zoomed over a place in Denmark. I would expect the map to zoom around the area where there are points. Isn't that what should happen or it is not working as expected? Regards, Daniel

ElBalsero avatar May 08 '21 00:05 ElBalsero

Is there anyone maintaining this plugin?

ElBalsero avatar Aug 10 '21 21:08 ElBalsero

Is there anyone maintaining this plugin?

Yes, but only with few resources, and with a focus on our most important needs. So pull requests welcome and additional contributors and maintainers as well :-)

Alkarex avatar Aug 11 '21 09:08 Alkarex

Is there anyone maintaining this plugin?

Yes, but only with few resources, and with a focus on our most important needs. So pull requests welcome and additional contributors and maintainers as well :-)

Thanks for the answer, @Alkarex. I understand the situation. I wish I had the ability to help.

Could you at least tell me if I am using the option correctly and "Zoom map to fit data bounds is supposed to zoom the map just around the antpath area?

ElBalsero avatar Aug 11 '21 11:08 ElBalsero

Subscribing to the issue as I experience the same with plugin latest master snapshot on Grafana 8.x.

Could you at least tell me if I am using the option correctly and "Zoom map to fit data bounds is supposed to zoom the map just around the antpath area?

My answer is not authoritative, but I believe yes: the map should be centered and zoomed in/out so that the path fits the view boundaries.

Actually there are few more issues:

  • Ant animation does not work (hence "Delay" has no effect).
  • If I choose the color not from center column (i.e. 1,2,4,5 value in the row), the color is simply interpreted as transparent.

UPD 2022-09-07: Tested with Grafana v9.0.8 and TrackMap plugin v2.3.0 – unfortunately "autozoom" does not work.

dmak avatar Apr 22 '22 09:04 dmak