You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Apparently a Leaflet plugin isn't a big deal, it is just Javascript that uses the Leaflet API. In fact the home button is a L.EasyButton.
So the way to go about this would be to shovel all the code into L.maptracker and then provide the options to configure it the way you want. To make it play nice with other plugins jquery dependency should disappear, just use plain js, it is overkill anyway.
Cool. I had the thought that the vessel tracking, waypoints, snail trails, wind, etc could all be plugin layers in leaflet. Then users could mix and match to make a map, show and hide layers, etc. Plus we could benefit from others developing plugins to complement them.
I will have a look at the freeboard code and see what I can extract.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: