Giter Site home page Giter Site logo

marceluphd / grafana-trackmap-panel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jpmeijers/grafana-trackmap-panel

0.0 1.0 0.0 2.41 MB

A panel for Grafana that visualizes GPS points as a line on an interactive map

License: Apache License 2.0

JavaScript 86.20% HTML 12.74% CSS 1.06%

grafana-trackmap-panel's Introduction

grafana-trackmap-panel

A panel for Grafana that visualizes GPS points as a line on an interactive map.

Features

  • Places a dot on the map at the current time as you mouse over other panels.
  • Zoom to a range of points by drawing a box by shift-clicking and dragging.
  • Multiple map backgrounds: OpenStreetMap, OpenTopoMap, and Satellite imagery.
  • Track and dot colors can be customized in the options tab.

Screenshots

Show current selection as a dot on the map Zoom in by selecting a range of points Chose what map to display the data on

Installation

To use this plugin, clone it into Grafana's plugin directory (you can find this path in Grafana's logs when it starts up), and build it.

To build, install npm and run the following commands in the plugin's directory:

npm install
npm run build

After building, you should now be able to select the "TrackMap" panel when adding a new panel to a Grafana dashboard.

Configuration

The plugin requires latitude and longitude measurements provided as floats in two separate fields.

The following setup has been tested using InfluxDB as a data source in the case where latitude and longitude are stored in the location table. You will have customize the query for your setup accordingly.

SELECT median("latitude"), median("longitude") FROM "location" WHERE $timeFilter GROUP BY time($interval)

grafana-trackmap-panel's People

Contributors

pr0ps avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.