Installation
npm install --save @types/circle-to-polygon
Summary
This package contains type definitions for circle-to-polygon (https://github.com/gabzim/circle-to-polygon).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/circle-to-polygon.
index.d.ts
import * as GeoJSON from "geojson";
interface PolygonConfig {
earthRadius?: number;
numberOfEdges?: number;
bearing?: number;
rightHandRule?: boolean;
}
declare function circleToPolygon(
center: GeoJSON.Position,
radius: number,
numberOfSegments?: number | PolygonConfig,
): GeoJSON.Polygon;
export = circleToPolygon;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/geojson
Credits
These definitions were written by Jan Zak.