maplibre-gl-lanes v1.0.0 0 ▲ nuxx.net 47 days ago · Tech · hide · Fediverse post maplibre-gl-lanes v1.0.0 Lanes Rendering Example The old (outdated) print RAMBA map was the inspiration for the parallel lines/lanes (public transit-style) maps on trailmaps.app. They functioned, but I wasn’t super happy with how they looked. It worked by using the built-in line-offset and bolting on a bunch of fixes at map generation time. This looked… mostly okay… but fell apart at complex intersections and had lots of back-and-forth transitions. I realized that a better way to do this would be via a plugin for MapLibre GL JS which calculates and draws these routes as zoom changes. It turns out there are papers from 2018-2021 about software called LOOM (Line-Ordering Optimized Maps: 1, 2, 3, 4) and a reference implementation or and it did basically this, but with the intention of transit maps themselves. So, a few weeks ago I fired up the clanker† and set it to work implementing this, via a plugin, without using any existing code, which c0nsumer/trailmaps.app-map-generator would be… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town