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))

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


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.

Login or Signup to post a comment