Added segment hover highlighting, popups. omg.
Fixed re-appearing trail popups.
Fixes for trailhead icon/popup positioning.
Syntax fixes and null checks.
Switch zoom bounds to all trails at a trailhead instead of single trail.
Added left padding to map, changed zoom logic to keep trailheads onscreen.
Fixed trail detail panel switching by not pre-assigning currentDetailTrailhead
Changed to new Mapbox tiles per Katie.
changed initial map offset
Adding segment layer asynchronously after load.
Timeout for hover, highlight named trails in trail popup & go to nearest trailhead on click