Options
All
  • Public
  • Public/Protected
  • All
Menu

Class latlong

Hierarchy

  • latlong

Index

Methods

Static getDistance

  • getDistance(lat1: number, lon1: number, lat2: number, lon2: number): number
  • Parameters

    • lat1: number
    • lon1: number
    • lat2: number
    • lon2: number

    Returns number

Static getDistanceToLatLongs

  • getDistanceToLatLongs(lat: number, long: number, locations: Array<Array<number>>): Array<Object>
  • Parameters

    • lat: number
    • long: number
    • locations: Array<Array<number>>

    Returns Array<Object>

Static nearestLatLong

  • nearestLatLong(latitude: number, longitude: number, locations: Array<Array<number>>): Object
  • Parameters

    • latitude: number
    • longitude: number
    • locations: Array<Array<number>>

    Returns Object

    Object