Hello,
I am new to ThinkGeo, I would like to know what’s the best way to add a layer a make each element of it have a click event to perform some action. For instance, put vehicles on a map, and when the user clicks on the vehicle perform some action regarding that vehicle. How can I achieve this?
I tried to find click events with PointShape, etc, but with no luck.
Thank you in advance.
Binding click events to elements
Hi Davide,
Thanks for evaluating our new product!
I am not sure if you have went though our HowDoI sample which is very suitable for new user, please check it if you are not.
wiki.thinkgeo.com/wiki/Map_S…_I_Samples
If you still have any questions, don’t hesitate to let us know.
Thanks,
Troy