Make setBearing public and clean up code style

Allows the marker bearing to be set from the client (updating the rotation on the next frame) without the need to recreate the marker.