12 Commits

Author SHA1 Message Date
Marc
5d1e0ec2f5
Added new point-to-polygon-distance package (#2735)
Added turf-point-to-polygon-distance package to complement point-to-line functionality. Resolves #1743

---------

Co-authored-by: James Beard <james@smallsaucepan.com>
2024-11-14 14:16:00 +11:00
James Beard
e7227f51b7
Preliminary improvements to documentation, esp internal types e.g. Units (#2727)
* Added JSDoc for internal types and constants e.g. Unts and earthRadius. Minimal other changes to bring JSDoc types into line with code types. Added GeoJsonProperties to documentation.yml for type linking.

* Generated README.md files based on updated source that now includes JSDoc for internal types and constants e.g. Units. Also synced up some out of data JSDoc types with what is in the code.

* Switched the structure of documentation.yml to be more traditionally nested. We'll use this new structure from the turf-www repo to generate the website documentation in a more robust manner.

* For some reason leaving this function documented as the default (geojsonRbush) causes @turf/turf last-checks to fail. Specifically defining it as rbush like it used to be, except with the @function tag rather than @name.
2024-10-11 12:56:42 +11:00
Bas van Dijk
4bc0c82bde
Implemented azimuthToBearing (#2674)
* Implemented azimuthToBearing

* Update test.ts

Fix a prettier error

* Update test.ts

Another prettier fix

---------

Co-authored-by: mfedderly <24275386+mfedderly@users.noreply.github.com>
2024-08-06 10:12:39 -04:00
Isaque Borges
1f4bef87a6
Fixing boolean-intersects docs (#2593)
* Improve boolean-intersects docs

* Improving boolean-intersects docs

* adding boolean-intersects to documentation.yml

* moved addtomap to end and colored markers

---------

Co-authored-by: James Beard <james@smallsaucepan.com>
2024-07-26 09:02:45 +10:00
Rowan Winsemius
fa673871a7
Add booleanTouches to docs (#2431) 2023-05-08 21:36:22 +10:00
mfedderly
2e9d3d51f7
Add Prettier and ESLint to the builds (#1965)
* Configure ESlint and Prettier
- Disable all eslint rules that trigger
- Build's lint step now runs monorepoint, prettier, and eslint
- Remove all tslint references

* [auto] run prettier on everything

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-12-08 19:24:15 -05:00
Rowan Winsemius
47caa57a7f Add new modules to docs 2018-02-15 23:12:05 +11:00
Denis
ba0709b35b Update JSDocs 2017-12-05 11:06:19 -05:00
Denis
2302e3e4c7 Update documentation links 2017-12-05 09:11:51 -05:00
Denis
4febc980d7
Update documentation.yml 2017-12-05 09:00:25 -05:00
Denis
e9c21f9d24
Remove duplicate bboxClip 2017-12-05 08:09:53 -05:00
Denis
10c01b7736 Add documentation yaml to turf main 2017-12-03 21:25:47 -05:00