Start a new topic

SimpleAR World with external html

SimpleAR World with external html


Im using the Simple ARWorl example as base app, to load the sample world, i make a call to external page, and evrithing go fine.

My question is, why the pois are made viewables after the gps lock signal?. A little further explanation:

Open the app.

The app call external html file. Ex.(

The app show the html file with radar and all, but, the pois arent visible.

After 2 or 3 secs, the device get locked signal from gps, and then the pois go visible.

I have made some tests like if i can get my lat and lang right after open the app, and it does display the info, so, i dont know why the pois still get invisible.

Second, how can i know, when the pois are fully loaded and visibles?

Thank you in advance.

Hi there!

I guess you implemented your onwn locationListener to fetch user#s location.

Please enure you handle GPS and network-positioning in your code and forward the location information poperly to the archtectView in your Android code.

To quickly find out if your location was injected properly you may implement

AR.context.onLocationChanged = function(lat, lon, alt, acc) {
alert("location received");

in your JS code.
You can even declare a global variable that holds the user's latest known location.

Hope that helps.

Kind regards,
Login or Signup to post a comment