Skip to content
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

Is it possible to disable the tooltip when dragging/rotating objects? #356

Closed
axekan opened this issue Jun 3, 2022 · 5 comments
Closed
Assignees
Labels
🍏 feature New feature or request ❓ question Further information is requested
Milestone

Comments

@axekan
Copy link

axekan commented Jun 3, 2022

Threebox version: 2.2.6

Question

I'm using Threebox to load in interactive 3d models of buildings to my map and allowing the user to drag and rotate the objects. I was trying to figure out a way to disable the label showing coordinates and rotation when performing these actions as they don't really serve a purpose for the end-user.
I could not find anything in the documentation about turning this off, and looking through they sourcecode it seems to be pretty deeply rooted in the onMouseMove event through object.addHelp().

Short video showcasing what I'm talking about.

Is there something I'm missing in regards to configuring this tooltip function? I apologize if this has been answered before, but I was unable to find anything.

@axekan axekan added the ❓ question Further information is requested label Jun 3, 2022
@jscastro76 jscastro76 added the 🍏 feature New feature or request label Jun 3, 2022
@jscastro76 jscastro76 self-assigned this Jun 3, 2022
@jscastro76 jscastro76 added this to the v.2.2.7. milestone Jun 3, 2022
@jscastro76
Copy link
Owner

Hi @axekan
In my case, in all my projects that's one of the features that is better valued, because it helps the designers to do fine grain adjustments. Having said so, you're right, there's no option to turn them off, and it should as it happens with other tooltips.
Converting this question into a new feature.
I'll post here when it's ready.

jscastro76 added a commit that referenced this issue Jun 3, 2022
@jscastro76
Copy link
Owner

Now this help tooltips are hidden always. If anyone wants to make them visible, they can use enableHelpTooltips: true as a Threebox param

@liuchang567
Copy link

Now this help tooltips are hidden always. If anyone wants to make them visible, they can use as a Threebox paramenableHelpTooltips: true

hi,v2.2.7,enableHelpTooltips: false is‘t working 。
2022-06-06 202900

@jscastro76
Copy link
Owner

jscastro76 commented Jun 6, 2022

That's not help tooltip, that's the bounding box. If you want to deactivate it, you have to use bbox: false in each object creation params. You already have an example of this here

@liuchang567
Copy link

That's not help tooltip, that's the bounding box. If you want to deactivate it, you have to use bbox: false in each object creation params. You already have an example of this here

yes my fault, thank you and look forward to the project getting better and better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍏 feature New feature or request ❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants