Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Hover over for details #21

Closed
viktak opened this issue Aug 17, 2020 · 5 comments · Fixed by #40
Closed

Hover over for details #21

viktak opened this issue Aug 17, 2020 · 5 comments · Fixed by #40

Comments

@viktak
Copy link

viktak commented Aug 17, 2020

I was wondering if it is possible to configure the map in a way that when the mouse hovers over a track point, it shows the details (or at least the time stamp) of that point, like any other graph in Grafana does, i.e.:

grafana-hover-over-example

If it is not possible, please take this as a feature request :)

Thank you!

@viktak
Copy link
Author

viktak commented Sep 10, 2020

While at it :) can I also ask for a possibility of a small (custom) icon/image to be shown at the last point?

Imagine a live tracklog, where one can see, say, the last 24 hours, and the current position. At the moment it is not easy to see / not obvious which one the current position.

Thank you!!

@bijwaard
Copy link

At the moment I can see the lat/long coordinates in the tooltip, great! So there is already something showing up while hoovering;-)

Would it is possible to add a label to the tooltip. I now changed the icons to have an embedded label but that only works for two icons... It would be great if this label/id can be dynamically set from the metrics, e.g. by using the identity_id metric alias below.
image

@j-or
Copy link
Collaborator

j-or commented Nov 19, 2020

@viktak @bijwaard

For highlighting the last position, check out the Use secondary icon for last marker option that was added recently.

For labels/tooltips, try #40 that I just pushed. It adds a mouseover tooltip/label to each marker using the tooltip field from the query. It also has the option to Always show tooltips if you want the tooltips to stay open, instead of only showing them on mouseover.

@j-or j-or linked a pull request Nov 19, 2020 that will close this issue
@bijwaard
Copy link

Thanks very much, this appears to work beautifully!!
image

@viktak
Copy link
Author

viktak commented Nov 19, 2020

Great updates, thank you guys!
I was wondering, if there is a way to include the timestamp in the tooltip?

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

Successfully merging a pull request may close this issue.

3 participants