mbus-backend
    Preparing search index...

    Function findNearestStops

    • Finds the nearest k stops to a given coordinate.

      Parameters

      • lat: number
      • lon: number
      • k: number = 2

      Returns { distance: number; lat: number; lon: number; name: string; stpid: string }[]