Page 1 of 1

detect mouse click region for non standard shapes?

PostPosted: Mon Dec 16, 2013 5:28 pm
by tomburford
Bit of a noob question perhaps.

i am using pandoras box and widget designer and attempting to have mouse click regions on a large map activate a sequence. i can define the extremes of my click zones as rectangles using a range node but how should i go about setting a non standard click region ie a country boarder?

Re: detect mouse click region for non standard shapes?

PostPosted: Wed Dec 18, 2013 11:03 am
by Dennis Kuypers
Hi,

I dont know if it is possible for you, but using the Pandoras Box built-in layerpicking might be useful. You can have one layer per region and then detect what layer was clicked.

http://manual.coolux.de/#interactive_preview_content_as_interface_layerpicking.htm

Best regards
Dennis