Page 1 of 1

Text box at Mouse pointer

Posted: Fri Oct 28, 2022 8:43 pm
by SergePix
Hello,

I can't find a post on the forum discussing how to display a popup box by clicking on a polygon at the location of the mouse pointer.

For now, if I press on a polygon, the text box always appears in the center of the screen.

Does anyone know the link to this post?

Thanks!

Re: Text box at Mouse pointer

Posted: Sat Oct 29, 2022 4:30 pm
by Tony
Hi,

Not sure what post you mean but is this what you are looking for. In this example there isn't a click but the text box appears when the mouse is over the polygon.

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

Tony

Re: Text box at Mouse pointer

Posted: Sat Oct 29, 2022 4:54 pm
by SergePix
Hello Tony,

This is exactly what I need. Text box appear at the pointer click or over.

It is possible to have the project example?

Regards
Serge

Re: Text box at Mouse pointer

Posted: Sun Oct 30, 2022 11:28 am
by Tony
Hi Serge,

I'm just finishing up a project but I'll dig out the example and post it back here.

Tony

Re: Text box at Mouse pointer

Posted: Mon Oct 31, 2022 2:48 pm
by SergePix
Hello Tony,

finally i found the way to show the text box near pointer.

Thank you anyway for your offer.