UNPKG

random-flight-generator

Version:
15 lines (14 loc) 604 B
import { MapCoordinate } from './MapCoordinate'; export declare class FlightMath { /** * Returns the distance in meters between two MapCoordinates * Source: https://www.movable-type.co.uk/scripts/latlong.html **/ static getDistance(start: MapCoordinate, end: MapCoordinate): number; /** * Returns the bearing in degrees between two MapCoordinates * Source: https://www.movable-type.co.uk/scripts/latlong.html **/ static getBearing(start: MapCoordinate, end: MapCoordinate): number; static metersToNauticalMiles(distance: number): number; }