Skip to content

Commit

Permalink
Feat/flightplan rotation (#383)
Browse files Browse the repository at this point in the history
* feat: add turf/transform-rotate package

* feat: add onDrag event listner and corresponding props

* feat: add type for functions to be call at on drag event

* feat: add feature to rotate filght plan

* feat: add function to calculate angle, centeroid

* feat: add funciton to rotate geojson

* refactor: update type for function params
  • Loading branch information
bijayrauniyar0 authored Dec 5, 2024
1 parent 065782a commit 26f245a
Show file tree
Hide file tree
Showing 6 changed files with 488 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@tanstack/react-query-devtools": "^4.32.6",
"@tanstack/react-table": "^8.9.3",
"@turf/area": "^7.0.0",
"@turf/transform-rotate" : "^7.1.0",
"@turf/bbox": "^7.0.0",
"@turf/centroid": "^7.0.0",
"@turf/flatten": "^7.0.0",
Expand Down
Loading

0 comments on commit 26f245a

Please sign in to comment.