Rotate mapkit.ImageAnnotation

Hello

I'd like to be able to rotate an mapkit.ImageAnnotation.

From this post on Stack Overflow https://stackoverflow.com/questions/78686475/need-to-style-a-mapkit-js-marker-annotation/78702266#78702266 I understand that it's possible, for example, to the following: map.annotations[0].element.style.cursor = "pointer"; and this works for me.

However, I need to do something like the following, but it doesn't work: map.annotations[0].element.style.transform = "rotate(90deg) ";

Any ideas how a mapkit.ImageAnnotation and mapkit.MarkerAnnotation can be rotated?

Thanks in advance Sam

Rotate mapkit.ImageAnnotation
 
 
Q