-
-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't change opacity of marker #1237
Comments
It works https://codesandbox.io/p/sandbox/nifty-oskar-nknf8m?file=%2Fsrc%2Findex.ts%3A102%2C55 Please share a demo when you have a problem. |
Yes.. but not in my app.. let me try other things.. |
If I create the marker with less opacity it works but then I can't change it to anything else. |
Yes : the 3D markers do not support updating the opacity. I will fix it. But first let me ask you something : when you have a problem you MUST start by providing an example of your code, or at least a snippet like you just did, it save you and me a LOT of time. Thanks in advance. |
Yes, I'm sorry. I will provide all the info I can next time. This is how I create the marker:
Are imageLayer markers the same as 3Dmarkers? |
yes imageLayer and videoLayer are 3D objects |
This feature/bug fix has been released in version 5.7.1. |
Just to confirm that both the opacity and the rotation work now like a charm. Thank you! |
Describe the bug
I made a web app to create tours and when editing markers, the opacity does not change.
This is the code I use:
markersPlugin.updateMarker({ 'id' : 'mark1', 'opacity' : 0.4 });
the marker in question remains at 100% opacity
Online demo URL
No response
Photo Sphere Viewer version
5.7.0
Plugins loaded
markersPlugin
OS & browser
MacOs Sonoma, Brave Versión 1.62.162 Chromium: 121.0.6167.164 (Build oficial) (arm64)
Additional context
No response
The text was updated successfully, but these errors were encountered: