Rotation marker Icon for openstreetmap

Hi community,
I’m using a custom maker icon at openstreemap to take coordinates, and I need to rotate this marker icon according to the need. Someone that can help me making an extention (I’ll pay for the aix extention).

image