pR0Ps / grafana-trackmap-panel

A panel for Grafana that visualizes GPS points as a line on an interactive map
https://grafana.com/plugins/pr0ps-trackmap-panel
Apache License 2.0
137 stars 61 forks source link

Add ability to use custom colours/color gradients based on data #6

Open mikenye opened 6 years ago

mikenye commented 6 years ago

Hi,

Just an FYI - I've included your awesome plugin in a grafana docker container.

https://github.com/livehouse-automation/livehouse-docker-grafana/ https://hub.docker.com/r/livehouseautomation/veraflux-grafana/

Thanks for such a great plugin.

Kind regards, Mike Nye

pR0Ps commented 6 years ago

Thanks for the kind words, glad you're getting some use out of it! Is there a public demo or some screenshots of the container in action somewhere?

mikenye commented 6 years ago

There's not much to see :-) Just a Grafana dashboard showing locations, similar to the screenshots you have in the readme.

Data is from the iPhoneLocator plugin for the Vera home automation system (https://github.com/amg0/IPhoneLocator).

Location data is sent to InfluxDB via our VeraFlux Vera plugin (https://github.com/livehouse-automation/veraflux).

Location data is then visualised with Grafana & this panel plugin via aformentioned docker container.

ipl1 ipl2

Censored to protect my friend's privacy. :-)

Map is showing Perth, Western Australia in case you're wondering.

Cheers!

mikenye commented 6 years ago

May I submit a feature request?

Could you optionally include the ability to have a colour gradient in the path based on time or based on another value from InfluxDB?

There is a Leaflet plugin that offers this functionality: https://github.com/iosphere/Leaflet.hotline

This would allow (for example):

I'm not a JS/Node developer or I'd look at forking and doing this myself.

Cheers!

-Mike

lephisto commented 5 years ago

Awesome Plugin. Having a third metric steer the Color would be awesome, i can only second this.

I currently use it for doing some Telemetry on my Car.

In addition it would be topnotch to have a fourth Metric with Annotations, like if you hover on the Track you get a baloon/tooltip with additional Data like Speed, Heading etc...

Here's a short view on the Map.

screenshot from 2019-01-06 17-53-30

Thank you for awesome work!

bassmaster187 commented 5 years ago

A gradient color for speed or anything else would be nice. Also a ToolTip for a couple of other datas would be nice (elevation, street / city name, speed ....)

johnnylau commented 1 year ago

any progress on this feature?