ARCore-Location icon indicating copy to clipboard operation
ARCore-Location copied to clipboard

change the color of the marker when it's clicked

Open mohaz3i opened this issue 6 years ago • 2 comments

Hello, please note this is not an issue but an enhancement. How can i change the color of my marker after i click it so that i can recognize which marker was clicked and which was not! Thanks

mohaz3i avatar May 25 '19 04:05 mohaz3i

Well, every node(marker) you attach has a click listener; so you can manage it's layout there. I think the sample app already contains such an example (with click listener)

todoranalex avatar May 28 '19 07:05 todoranalex

Thanks, we created a clone for the class ObjectRenderer and we changed the colors inside the class, when we click the marker it calls the clone-class and so the colors are changed.

mohaz3i avatar Jun 09 '19 20:06 mohaz3i