hammerspoon2-docs
    Preparing search index...

    Function lookupLocation

    • Reverse-geocodes a locationTable into an array of placemarkTables. Returns a Promise that resolves with matching placemarks or rejects with an error.

      Parameters

      • locationTable: Record<string, number>

        an object with at least latitude and longitude

      Returns Promise<Record<string, any>[]>

      a Promise resolving to an array of placemarkTables