Tilt a polygon by an angle


I had drawn polygon on the ground moving with aircraft, but in case if aircraft turns around with an angle then logically and dimension-ally polygon should also move with that angle same as the angle of the aircraft. but its not getting tilt

Please help me with some code which may move the polygon with same angle.


Hi Mahesh,

You could update the positions with a callbackProperty according to the current orientation of the aircraft.



Hi Gabby,

Still now I didn’t figure out how callback property and current orientation helps me in my Problem. Since I am trying to tilt a polygon on ground with respect to aircraft position. And the path of aircraft is predefined

So please help me by giving some code so that I can implement it in my problem.