Type Function Library system.* Return value none Revision 2018.3380 Keywords gps, location See also location (GPS) system.setLocationThreshold()
Sets the desired accuracy of location (GPS) events to distance in meters. Note: the actual accuracy depends on the capabilities of the device and/or platform. On the iPhone, accuracy is limited to discrete distances: < 10, 10, 100, 1000, and 3000 meters. Higher accuracy (smaller distances) requires more battery life, so use larger distance to preserve battery life.
system.setLocationAccuracy( distance )
Number. Location accuracy in meters.
-- set GPS accuracy to 10 meters system.setLocationAccuracy( 10 )