Closed guoshao99 closed 1 month ago
This is not possible with this library. It is a library to view things, not to edit.
You can listen to "click" events on the viewer to move markers where the user clicked, but you cannot make drag-and-drop finctionnality.
As you said, how should we obtain the coordinates required for marking the final mouse landing point by moving it with the mouse? How should this be converted
The viewer "click" event has all the data you need, including projected yaw+pitch
https://photo-sphere-viewer.js.org/guide/events.html#click-data-dblclick-data
https://photo-sphere-viewer.js.org/api/classes/core.events.clickevent
This issue has been automatically marked as stale because not enough information was provided. It will be closed if no further activity occurs.
my project use jqueryui draggable is ok
Describe your problem
Hello, author How to support dragging icons to change coordinate positions after using MarkersPlugin annotations
Online demo URL
No response
Photo Sphere Viewer version
5.8.2
Plugins loaded
No response
Additional context
Hello, author How to support dragging icons to change coordinate positions after using MarkersPlugin annotations