You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->
Copy file name to clipboardExpand all lines: packages/turf-circle/index.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@ import { destination } from "@turf/destination";
3
3
import{polygon,Units}from"@turf/helpers";
4
4
5
5
/**
6
-
* Takes a {@link Point} and calculates the circle polygon given a radius in degrees, radians, miles, or kilometers; and steps for precision.
6
+
* Takes a {@link Point} and calculates the circle polygon given a radius in {@link https://turfjs.org/docs/api/types/Units Units}; and steps for precision.
7
7
*
8
8
* @function
9
9
* @param {Feature<Point>|number[]} center center point
* @param {string} [options.units="kilometers"] in which `maxDistance` is expressed, can be degrees, radians, miles, or kilometers
43
+
* @param {Units} [options.units="kilometers"] in which `maxDistance` is expressed, Supports all valid Turf {@link https://turfjs.org/docs/api/types/Units Units}
44
44
* @param {boolean} [options.mutate=false] Allows GeoJSON input to be mutated
45
45
* @param {number} [options.minPoints=3] Minimum number of points to generate a single cluster,
46
46
* points which do not meet this requirement will be classified as an 'edge' or 'noise'.
0 commit comments