Geolocator.MovementThreshold | movementThreshold property

0 out of 1 rated this helpful - Rate this topic

Gets and sets the distance of movement, in meters, relative to the coordinate from the last PositionChanged event, that is required for the Geolocator to raise a PositionChanged event.

Syntax


var movementThreshold = geolocator.movementThreshold;
geolocator.movementThreshold = movementThreshold;

Property value

Type: Number [JavaScript] | System.Double [.NET] | float64 [C++]

The distance of required movement, in meters, for the location provider to raise a PositionChanged event. The default value is 0.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

See also

Geolocator

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.