From Xojo Documentation

Property (As Integer )
aWebDeviceLocation.MaximumAge = newIntegerValue
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.


In the Shown event handler, specify that a new location be requested no more than every 30 seconds:

Me.MaximumAge = 30000