Case study · Maps and trip planning
Transit and maps
A county map with fifteen layers, live LTD buses, and a bus trip planner written from scratch.
Many people looking for help do not drive. LaneHelp’s map shows services, shelters, live buses, traffic, and incidents on one county map, and its trip planner gets someone from where they are to the service by bus, on foot, or by bike.
- Who it serves
- People getting to services without a car, and the caseworkers planning the trip with them.
- First shipped
- The map shipped with the first release on February 9, 2026; regional transit on March 13; Route Finder on July 5; LaneHelp’s own bus planner on October 12.
- Built with
- Mapbox GL, Directions, Geocoding, and Search Box · GTFS and GTFS-realtime · Cloudflare Cache API · TypeScript planner on Workers

The problem
What was in the way
A list of services is not much help if you cannot get there, and most trip planners assume a car or a phone with plenty of data.
In October 2026 the Google Maps account behind LaneHelp’s routing lost its billing, and bus directions had to be rebuilt on another foundation in a day.
What was built
Inside Transit and maps
- 01PlaceStart and destination found with Mapbox search.
- 02SearchDirect and one-transfer trips over LTD’s schedule first.
- 03WalkEvery walking leg checked against real streets.
- 04CheckLive alerts and trip updates; incomplete plans rejected.
- 05ShareAn Easy Route link, a printed sheet, or the next bus.
One map, fifteen layers
- Resources and shelters by default, with transit, rentals, events, emergency response, fire, tsunami zones, and more a tap away, drawn with Mapbox GL.
- Live LTD buses are snapped to their route shapes and fade from “live” to “estimated” to hidden as their last report ages.
- Road conditions from ODOT TripCheck, weather from the National Weather Service, and incident layers from county and city dispatch feeds.
A bus planner written for LTD
LaneHelp’s planner searches LTD’s published schedule directly: direct and one-transfer trips first, a second transfer only when nothing else works. Stops without published times are timed by distance, a rider can stay on a bus that continues as another line, and every walking leg is checked against real streets. If nothing runs now, it looks up to 36 hours ahead for the next bus.
Plans that hold up
- Three regional transit feeds: LTD (which now runs Cottage Grove service as Route 98), Diamond Express, and Rhody Express.
- A four-second server deadline, so a slow source cannot hang a plan, and plans missing pieces are rejected rather than shown.
- Trips can be shared as an Easy Route link or printed with complete bus directions, and every LTD route has its own page and printable sheet.
The hard part
From four and a half seconds of CPU to a fraction of one
On Cloudflare Workers, the first version of the planner spent 4.2 to 4.6 seconds of CPU per plan, most of it reading the schedule. The fix shares the parsed schedule through the Workers cache, replaces the general CSV parser with a purpose-built reader, and adds a 150-meter stop index. Planning CPU fell 6.7 times, with identical results on 120 sampled trips.
What it shows
What this says about the work
- Routing over real transit schedules, not a wrapped API.
- Mapping with live data layers.
- Performance work under a hard CPU budget.
Want something like Transit and maps?
It does not need to look like this one. Describe what your team or community is up against, and the conversation starts there.