Hello,
I guess this is related to the user's location. Please have a look at the related SDK Samples and ensure that you generate the POIs after the first user location fires, and ensure to not load them on each location update by adding a variable like "latestPoiReloadLocation", or similar.
Also check the AR.context.cullingDistance. POIs that are too far away aren't rendered by default.
Some more hints around GEO AR experiences in the following:
* Visually indicate: fetching user location state and the fetching of POI data for the current position
* Indicate number of loaded POIs and consider use of the "indicator" drawable, so user can easily find out where to point the device at
* Use location.distanceToUser() to calculate the very latest distance and show it as part of the Marker info.
* Implement a "reload" mechanism, which allows the user to update the content on demand (e.g. after moving 100+ meters)
* Indicate when you see the need for a reload (delta to initial loading of POIs exceeds a predefined threshold, e.g. 100 meters)
* Consider the consumption POI data from an online source so you can maintain content without the need of an app-update. Either host a service which retrieves user's location as param or (depending on the # of POIs) store all POIs in a single JSON and filter them client side .
Hope this helps.
Best regards,
Andreas Fötschl
Ghassen Abbes
Hello,
I'm working with Poi scripts in Android. I use a .setLocation() and it works fine but when i use .callJavascript() to calll the function loadfromjson, it runs and notices me "1 place loaded" but no marker displayed.
I really need help.
This is my codes :
architectView.setLocation(mLocation.latitude, mLocation.longitude, mLocation.accuracy.toDouble())