Start a new topic

How to pre-select a POI

How to pre-select a POI


Referring to the POI sample (presenting details (1/6)) https://www.wikitude.com/external/doc/documentation/5.1/android/browsingpois.html

How do I pre-select a Point of Interest automatically upon load, without having the user to click on one? Thanks.

Hello,

You can define the POI that you want to be pre-selected by experimenting with the code line below

World.markerDrawable_selected = new AR.ImageResource("assets/marker_selected.png");

where instead of having assets/marker_selected.png you can add the POI you wish to be pre-selected.

Thanks
Login or Signup to post a comment