Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Click listener/Mouse move listener #3

Closed
crzo opened this issue Apr 22, 2018 · 2 comments
Closed

Click listener/Mouse move listener #3

crzo opened this issue Apr 22, 2018 · 2 comments

Comments

@crzo
Copy link
Contributor

crzo commented Apr 22, 2018

Is it very difficult to add click or mousemove listeners for those icon markers?

I mean there must be some projection between the containerpixel and raycasting into the virtual scene to detect a "hit".

I would love to see such feature in your plugin. I will try to make a pull request, but would like to discuss it with you first.

@Lipemenezes
Copy link

@crzo did you make any progress in this?
Maybe you have an idea of how we could achieve this.

@eJuke
Copy link
Owner

eJuke commented Jun 9, 2018

@Lipemenezes
Crzo and Spaction created a pull requests with this improvement. I had merged them to master.
Click/Hover listeners are available from v0.2.
You can check it here. We updated example page to show listeners in action.

@eJuke eJuke closed this as completed Jun 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants