Skip to content

GeolocatorWebConfiguration

GeolocatorWebConfiguration #

Bases: GeolocatorConfiguration

Web specific settings.

accuracy #

Defines the desired accuracy that should be used to determine the location data.

distance_filter #

distance_filter: int = 0

The minimum distance (measured in meters) a device must move horizontally before an update event is generated.

Set to 0 when you want to be notified of all movements.

maximum_age #

maximum_age: DurationValue = field(
    default_factory=lambda: Duration()
)

A value indicating the maximum age of a possible cached position that is acceptable to return. If set to 0, it means that the device cannot use a cached position and must attempt to retrieve the real current position.

time_limit #

time_limit: DurationValue = None

Specifies a timeout interval.

For no time limit, set to None.