Start a new topic

How to call a javascript method on click of arcitect overlay image?

How to call a javascript method on click of arcitect overlay image?


I have another problem that as in IR ImageRecognization, when image is recognized so an overlay of architect image is show and four arrows is shown, So can i call a javascript method on click of that overlay image when image is recognized.

Is this is possible then please tell me how to set architect overlay's click event and its calling a javascript method on its click..

Reacting on clicks is done by assinging a functions to the onClick trigger. This trigger is avaiable for AR.Drawables (Circle, ImageDrawable, Label, HtmlDrawable) and for ARObject (Trackable2dObject, GeoObject). Please find details in the API reference and available tutorials.  
Login or Signup to post a comment