1 hour ago · Tech · hide · 0 comments

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…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.