Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

geolocation accuracy vs. distanceFilter

$
0
0

hello, i'm trying to figure out the fastet and/or most accurate method to get a geolocation, and how that does affect how often the geolocation listener fires. i.e., does

Titanium.Geolocation.accuracy = Titanium.Geolocation.ACCURACY_BEST;
Titanium.Geolocation.distanceFilter = 10;
result in less but more accurate geolocation events than, lets say
Titanium.Geolocation.accuracy = Titanium.Geolocation.ACCURACY_HUNDRED_METERS;
Titanium.Geolocation.distanceFilter = 10;
i don't understand completely how these both constants relate together. thanks for any tip, uno

Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>