smsearcy / mesh-info

Collect and view information about an AREDN mesh network.
GNU General Public License v3.0
5 stars 2 forks source link

Split markers into different layers with visibility control #87

Closed smsearcy closed 1 year ago

smsearcy commented 1 year ago

Similar to MeshMap, use Leaflet.js's layers to allow for showing/hiding different types of nodes/links.

Recent links default to no longer being displayed.

smsearcy commented 1 year ago

I refactored how the GeoJSON data was structured so that all the layers can be constructed in JavaScript from what is returned. This gets rid of the ugly/confusing Jinja templates in JavaScript.