JMap.Geometry.getRotatedFeature
Returns the feature with geometry rotated from the centroid.
the feature
from -360 to 360 degrees
if layer not found or layer is a layer group
// 37 degrees rotation of the polygonconst polygon = ...const rotatedPolygon = JMap.Geometry.getRotatedFeature(polygon, 37) Copy
// 37 degrees rotation of the polygonconst polygon = ...const rotatedPolygon = JMap.Geometry.getRotatedFeature(polygon, 37)
JMap.Geometry.getRotatedFeature
Returns the feature with geometry rotated from the centroid.