mbus-backend
    Preparing search index...

    Function buildStopNodeMap

    • Maps a list of bus stops to their nearest nodes on the street graph. This optimizes future lookups by caching the StopID -> NodeID relationship.

      Parameters

      • locations: Record<string, { lat: number; lon: number }>

        A map of StopID to {lat, lon}.

      Returns void