interface PoiExtractor {
    dist: ((arg0) => number);
    id: ((arg0) => string);
    sort: ((arg0) => number);
    title: ((arg0) => string);
    z: ((arg0, arg1) => number);
}

Properties

Properties

dist: ((arg0) => number)

Extract the distance from origin of a POI.

Type declaration

    • (arg0): number
    • Parameters

      • arg0: unknown

      Returns number

id: ((arg0) => string)

Extract the id of a POI.

Type declaration

    • (arg0): string
    • Parameters

      • arg0: unknown

      Returns string

sort: ((arg0) => number)

Extract the sequence number of a POI.

Type declaration

    • (arg0): number
    • Parameters

      • arg0: unknown

      Returns number

title: ((arg0) => string)

Extract the title of a POI.

Type declaration

    • (arg0): string
    • Parameters

      • arg0: unknown

      Returns string

z: ((arg0, arg1) => number)

Extract the elevation of a POI.

Type declaration

    • (arg0, arg1): number
    • Parameters

      • arg0: unknown
      • arg1: number

      Returns number