javascript - Getting user location using wikitude SDK for Android -
i'm using wikitude sdk 4.0 android , trying out the sample of multiple pois in app. https://github.com/wikitude/wikitude-sdk-samples/tree/master/3_pointofinterest_3_multiplepois
i got instantiated stuck user location.
i don't understand how user's location pulled javascript https://github.com/wikitude/wikitude-sdk-samples/blob/master/3_pointofinterest_3_multiplepois/js/multiplepois.js
the "ar.context.onlocationchanged = world.locationchanged;" in js magic.
after line executed 'world.locationchanged' (or other given) function fired on every android/ios native call of architectview's setlocation executed.
check out locationprovider-implementation in sample application basic approach. state-of-the-art location fetching recommend have @ google's location strategies.
kind regards.
Comments
Post a Comment