Type Function Library system.* Return value none Revision Current Public Release (2017.3068) Keywords gps, location See also location (GPS) system.setLocationAccuracy()
Sets how much distance in meters must be travelled until the next location (GPS) event is sent. Because location events involve hardware that can drain the battery, using larger threshold distances preserve battery life.
system.setLocationThreshold( distance )
Number. Location event distance (in meters). Defaults to 0 meters.
-- fire the location event every 100 meters system.setLocationThreshold( 100 )