Marker setRotation

used to work like that
marker.setRotation (location.getBearing ())
Now turns in all directions as he wants
what changed?
more specific and more details without reference please