Replies: 1 comment 1 reply
|
Use the "click" event to get the coordinates of where you click. viewer.addEventListener('click', ({ data }) => {
console.log('click', data);
});or ask a LLM :) Gemini gives good results
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm fascinated by the library and the functionality. great work!
Now I'd like to add markers and make the photo squere more interactive, but I struggle to find the right positions. How do others solve this? With an external tool or am I missing an obvious integrated feature?
All reactions