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 ?