JS API
Map Object
QueryEngine Object
Layer Object
Feature Object
Query Object
GeoJson Function Library (Experimental)

rotate

returns a rotated GeoJson geometry.

Parameters

Name Required Description
geometry Yes Any GeoJSON geometry object.
origin Yes Any GeoJSON Point object around which to rotate the geometry
angle Yes The andle in radians to rotate the geometry