@turf/circle 7.1.0-alpha.7 → 7.1.0-alpha.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -14
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -8,13 +8,13 @@ Takes a [Point][1] and calculates the circle polygon given a radius in degrees,
8
8
 
9
9
  ### Parameters
10
10
 
11
- * `center` **([Feature][2]<[Point][3]> | [Array][4]<[number][5]>)** center point
12
- * `radius` **[number][5]** radius of the circle
13
- * `options` **[Object][6]** Optional parameters (optional, default `{}`)
11
+ * `center` **([Feature][2]<[Point][1]> | [Array][3]<[number][4]>)** center point
12
+ * `radius` **[number][4]** radius of the circle
13
+ * `options` **[Object][5]** Optional parameters (optional, default `{}`)
14
14
 
15
- * `options.steps` **[number][5]** number of steps (optional, default `64`)
16
- * `options.units` **[string][7]** miles, kilometers, degrees, or radians (optional, default `'kilometers'`)
17
- * `options.properties` **[Object][6]** properties (optional, default `{}`)
15
+ * `options.steps` **[number][4]** number of steps (optional, default `64`)
16
+ * `options.units` **[string][6]** miles, kilometers, degrees, or radians (optional, default `'kilometers'`)
17
+ * `options.properties` **[Object][5]** properties (optional, default `{}`)
18
18
 
19
19
  ### Examples
20
20
 
@@ -28,23 +28,21 @@ var circle = turf.circle(center, radius, options);
28
28
  var addToMap = [turf.point(center), circle]
29
29
  ```
30
30
 
31
- Returns **[Feature][2]<[Polygon][8]>** circle polygon
31
+ Returns **[Feature][2]<[Polygon][7]>** circle polygon
32
32
 
33
33
  [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2
34
34
 
35
35
  [2]: https://tools.ietf.org/html/rfc7946#section-3.2
36
36
 
37
- [3]: https://tools.ietf.org/html/rfc7946#section-3.1.2
37
+ [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
38
38
 
39
- [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
39
+ [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
40
40
 
41
- [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
41
+ [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
42
42
 
43
- [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
43
+ [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
44
44
 
45
- [7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
46
-
47
- [8]: https://tools.ietf.org/html/rfc7946#section-3.1.6
45
+ [7]: https://tools.ietf.org/html/rfc7946#section-3.1.6
48
46
 
49
47
  <!-- 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. -->
50
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/circle",
3
- "version": "7.1.0-alpha.7+0ce6ecca0",
3
+ "version": "7.1.0-alpha.70+948cdafaf",
4
4
  "description": "turf circle module",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@placemarkio/check-geojson": "^0.1.12",
58
- "@turf/truncate": "^7.1.0-alpha.7+0ce6ecca0",
58
+ "@turf/truncate": "^7.1.0-alpha.70+948cdafaf",
59
59
  "@types/benchmark": "^2.1.5",
60
60
  "@types/tape": "^4.2.32",
61
61
  "benchmark": "^2.1.4",
@@ -68,9 +68,10 @@
68
68
  "write-json-file": "^5.0.0"
69
69
  },
70
70
  "dependencies": {
71
- "@turf/destination": "^7.1.0-alpha.7+0ce6ecca0",
72
- "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
71
+ "@turf/destination": "^7.1.0-alpha.70+948cdafaf",
72
+ "@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
73
+ "@types/geojson": "^7946.0.10",
73
74
  "tslib": "^2.6.2"
74
75
  },
75
- "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
76
+ "gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
76
77
  }