WebDeviceLocation.MaximumAge
From Xojo Documentation
Property (As Integer )
aWebDeviceLocation.MaximumAge = newIntegerValue
or
IntegerValue = aWebDeviceLocation.MaximumAge
New in 2011r2
Supported for all project types and targets.
or
IntegerValue = aWebDeviceLocation.MaximumAge
New in 2011r2
Supported for all project types and targets.
Maximum age in milliseconds a geolocation can be before the device is asked for a new location. If your application could potentially request the location too often, you could set this property so the device returns a recent value instead of requesting a new one.
Examples
In the Shown event handler, specify that a new location be requested no more than every 30 seconds:
Me.MaximumAge = 30000