Comments (2)
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.
from maptracker.
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.
from maptracker.
Related Issues (14)
- Add readme with screenshot HOT 1
- SI Units
- Reffering .js file from a style sheet link tag HOT 2
- Cannot read property 'lat' of undefined HOT 2
- Change boat icon HOT 1
- Automatically follow vessel HOT 2
- Routing HOT 1
- Distribute depencies included
- Must be usable with plain ws server
- Filtered list
- Handicap speed calculation HOT 1
- easyButton Issues HOT 2
- Url change / use signalk-js-client
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maptracker.