I'm updating the position of a marker (In reality via Drag'nDrop but I've changed this to the select-marker event for this bug report). The rotation of the marker is lost if the position is updated. This happens also if the tooltip is updated. (Not tested with other attributes)
Describe the bug
I'm updating the position of a marker (In reality via Drag'nDrop but I've changed this to the select-marker event for this bug report). The rotation of the marker is lost if the position is updated. This happens also if the tooltip is updated. (Not tested with other attributes)
Generate Marker:
changing the position by click on the marker
console output:
I assume that the problem is caused here after merging the two configs: https://github.com/mistic100/Photo-Sphere-Viewer/blob/962331f3325010fb98493ba501450a43cec1a4f8/packages/markers-plugin/src/markers/Marker.ts#L163
since I don't see the warning of the try-catch block in my console it's likely already ending on L164 with the IF
The whole thing is done with:
Online demo URL
https://codesandbox.io/p/devbox/optimistic-https-gqs3n6?file=%2Fsrc%2Fapp%2Fapp.component.ts
Photo Sphere Viewer version
5.7.2
Plugins loaded
Markers Plugin
OS & browser
Win/Chrome
Additional context
No response