Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transformRotate does not exist? #208

Open
adriantabirta opened this issue Aug 11, 2023 · 0 comments
Open

transformRotate does not exist? #208

adriantabirta opened this issue Aug 11, 2023 · 0 comments

Comments

@adriantabirta
Copy link

adriantabirta commented Aug 11, 2023

transformRotate - does not exist?

js:

var poly = turf.polygon([[[0,29],[3.5,29],[2.5,32],[0,29]]]);
var options = {pivot: [0, 25]};
var rotatedPoly = turf.transformRotate(poly, 10, options);

I want to rotate a polygon and cannot find method.

Is there any other way or rotating an ImageSource ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant