Start a new topic

Reload Browser POI's

Reload Browser POI's


 

I have one question and I hope you can help me.

How can I reload my "POI's Browser" automatically?, without  use the button "Reload".

Thank you.

Best Regards.

 

Hi Christian,

Are you talking about the Wikitude World Browser?

In that case, what operating system and what version of the Wikitude World Browser are you using?

Thanks,

Martin

Hi Martin;

I am using Wikitude SDK Android Version 3.3 and also I am using the example from documentation: "Browsing POIS".

Best Regards.

Christian.

Many thank!!!

Hi Christian,

Pressing the button invokes the function World.reloadPlaces() (check how the reload-link is specified in the HTML).

So, to trigger the same behavior automatically, you need to call World.reloadPlaces() in your JavaScript code.

To trigger the call multiple times in certain intervals, use window.setInterval(), provided by JavaScript directly.

Best,

Martin
Login or Signup to post a comment