A little JavaScript doodad (ahem, function) that draws various hub-spoke and spider diagrams
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CONTRIBUTING.md
LICENSE
README.md
hubspoke.png
reddot.png
spoke.html
spoke.js

README.md

hub-spoke

A little JavaScript doodad (ahem, function) that prepares various hub-spoke and spider diagrams for display in Leaflet.

[x] spokeCreate -- Straight-line spider diagrams
[ ] pathCreate -- Road network hub-spoke diagrams

A screenshot created with this function. In this case, the hub-spoke diagrams were drawn twice. First as transluscent wide traces and then again with thin, opaque lines. Little circleMarkers were added at endpoints: Screenshot