Ji Jason,
thanks for replying to my issue. Meanwhile I was fighting with javascript and our leaflet map to get things working. I now finally use a completely different approach since I switched the backend service to a standardized WFS that is serving geojson if requested. For my markers I use the standard leaflet DivIcon. Rotation is applied to each feature after successful AJAX request by simply altering the html property of the DivIcon. Here is some sample code:
rotateString = "rotate(" + calc_bearing + "deg)";
layer.options.icon.options.html = "<div style='width: " + getSize() + "px; height: " + getSize() + "px; transform: " + rotateString + "'>" + layer.options.icon.options.iconSvg + "</div>";
Since I'm fairly new to javascript there may be a much better way to do this but currently it is working fine.
Best wishes,
Stephan