index.d.cts 418 B

1234567891011121314151617
  1. import { GeoJsonProperties, Feature, LineString, MultiLineString } from 'geojson';
  2. import { Coord } from '@turf/helpers';
  3. /**
  4. * http://turfjs.org/docs/#greatcircle
  5. */
  6. declare function greatCircle(
  7. start: Coord,
  8. end: Coord,
  9. options?: {
  10. properties?: GeoJsonProperties;
  11. npoints?: number;
  12. offset?: number;
  13. }
  14. ): Feature<LineString | MultiLineString>;
  15. export { greatCircle as default, greatCircle };