GithubHelp home page GithubHelp logo

signalk / maptracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 2.05 MB

A web page that tracks targets based on data from a SignalK server

License: Apache License 2.0

JavaScript 4.70% HTML 95.30%

maptracker's Introduction

Signal K

signal-k-logo-tagline

Signal K is a modern and open data format for marine use. Built on standard web technologies including JSON, WebSockets and HTTP, Signal K provides a method for sharing information in a way that is friendly to WiFi, cellphones, tablets and the Internet. A format available to everyone, where anyone can contribute, Signal K is the first truly open data format for the marine industry and is set to revolutionize how we consume and interact with data on boats.

https://signalk.org

maptracker's People

Contributors

hkapanen avatar netaction avatar sbender9 avatar tjkurki avatar tkurki avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

maptracker's Issues

Change boat icon

Hi!

How can i change the boat icon to a PNG icon?

Thanks.
Best regards,
Jaron

Automatically follow vessel

Hi!

How can i automatically follow the vessel when the map opens (and keep it in center)?

Thanks.
Best regards,
Jaron

Handicap speed calculation

In a race it could be interesting to see how boats are performing according to the handicap rules of the race. Some handicap systems are easy enough, for example http://en.wikipedia.org/wiki/LYS_(sailing).

There should be an option to color code the boat markers with colors showing if they are doing better or worse than the reference boat. The ranking list could show also the corrected speed.

See also #3.

SignalK schema should have an extension point for defining the handicap values for a boat in effect during a race (note: the handicap changes over time and can depend on sail inventory on board/allowed in a race).

easyButton Issues

For whatever reasons, im showing an error with the EasyButton creation.

change the following

var homeButton = new L.Control.EasyButton('fa-home');
  homeButton.options.intentedIcon = 'fa-home';
  homeButton.options.position = 'topright';
  homeButton.intendedFunction = function () {
    map.panTo(selfLocation);
  };
  map.addControl(homeButton);

to

var homeButton = L.easyButton('fa-home',function(btn,map){
  map.panTo(selfLocation);
});
homeButton.options.position='topright';
map.addControl(homeButton);

Cannot read property 'lat' of undefined

Hi,

The vessel is visible on the map with an up to date location, but when i use the 'locate' button we get this error in the Chrome console:

Uncaught TypeError: Cannot read property 'lat' of undefined
at Object.project (map.js:16990)
at Object.latLngToPoint (map.js:17013)
at e.project (map.js:17284)
at e.latLngToLayerPoint (map.js:17295)
at e._getCenterOffset (map.js:17488)
at e._tryAnimatedPan (map.js:21157)
at e.setView (map.js:21121)
at e.panTo (map.js:17127)
at e. ((index):111)
at State.onClick (map.js:16236)
at e. (easy-button.js:185)
at HTMLButtonElement.i [as _leaflet_click23] (map.js:19826)

What can be the problem?

Best regards,
Jaron

Convert to leaflet plugin

Teppo,
If this tracking from signalk data capability was a leaflet plugin then it could easily be added to any leaflet map....
Also overlay/tracking a single vessel (your own) must be very similar, so a simple chartplotter would just require the plugin + filter for 'self' ?
Rob

SI Units

Update vessel direction to use radians per SI units from the server.

Filtered list

If you are watching a race you may want to ignore all other vessels in the area and filter the speed ranking list so that the vessels in the race are shown.

Url change / use signalk-js-client

The order of things in the SK url has changed and maptracker needs to be updated. A good way to do this is by starting to use signalk-js-client.

Routing

Another great feature would be to be able to suggest routes based on vessel polar diagram. See http://zezo.org/sodebo/chart.pl? for example. this requires polars (obviously), grip files and a definition of coastlines, eg. from OpenStreetMap.

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.