Take the 2-minute tour ×  I'm creating markers using this method
:  var markers = new OpenLayers.Layer.Markers( "Markers" ); var
size = new OpenLayers.Size(21,25); var icon = new OpenLayers.Ico
n('http://www.openlayers.org/dev/img/marker.png',size,offset);
`enter code here`markers.addMarker(new OpenLayers.Marker(new
OpenLayers.LonLat(0,0),icon));  Now , I want to rotate the
marker 90 degrees to the left (or right). How can I do it? I was
able to find example to rotate a feature , but I'm not using a
feature.. I'm using a marker.   share|improve this question A
comment to the code you have posted. According to the OpenLayers
documentation, using a layer of the class OpenLayer.Layer.Vector
instead of the class OpenLayer.Layer.Marker is preferable
(goo.gl/nco8y). –  dariapra Nov 12 '12 at 11:21 Thank you daria
, will update code now. Will this enable me to rotate markers?
–  Alophind Nov 12 '12 at 11:29 Although I don't know the
example you are talking about (I have been unable to find it), I
guess that it should