UNPKG

tsgeo

Version:

TsGeo provides abstractions to geographical coordinates (including support for different ellipsoids) and allows you to calculate geographical distances between coordinates with high precision.

16 lines (15 loc) 379 B
/** * Coordinate Formatter Interface * * @author clemdesign <contact@clemdesign.fr> * @license https://opensource.org/licenses/MIT * @link */ import { Coordinate } from "../../Coordinate"; export interface FormatterInterface { /** * @param {Coordinate} coordinate * @returns {string} */ format(coordinate: Coordinate): string; }