Custom Maps Widget. #535

@JacoFourie

Description

Hi all. I love Thingsboard. It really is very cool software.

Can I make my own custom maps widget? I need to draw a line and only one line. I am tracking the location of a Water Pivot. Here is a sample of what I am doing.

http://demo.thingsboard.io/dashboards/76f7adb0-fafe-11e7-abe9-1d8d2edf4f93?publicId=62079880-f6e8-11e7-abe9-1d8d2edf4f93

What I am doing now is to send 2 lat longs every time I send the data. So that the widget will draw the line from the center point every time. But obviously that is not the correct way. As it draws 2 lines and will vanish if left for too long

So what I need is to have one static point that I configure and the the GPS module will send its location. Then the widget should draw the line from the center point to the position.

I hope somebody can help or point me in the correct direction.