Start a new topic

Click event for array of GeoObject

Click event for array of GeoObject


i'm developping an application that shows many 3D Models in GEOLocation (it's a little bit similar to pokemon go)

my 3D GeoObjects are  stored in an array and when i'm trying to trigger a click event for each GeoObject it's only handle tha last object

how can i add a click listener for each object

thanks for helping me

 

 

____________________________________

Best Regards

WETCHA Chaima

Not sure if I get you right.

In case you want to create clickListeners per POI, pleae have a look at the "Browsing POIs" SDK Sample section.
In case you want to "click through" POIs that are rendered in the same direction, please have a look at the meaning of the onClick-listener's return value of an AR.GeoObject.

Best regards,
Andreas
Login or Signup to post a comment