ArcGIS API for WPF - Library Reference
GeoPositionWatcher Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit.DataSources Namespace > GpsLayer Class : GeoPositionWatcher Property

Gets or sets the GeoPositionWatcher used to track position.

Syntax

Visual Basic (Declaration) 
Public Property GeoPositionWatcher As IGeoPositionWatcher(Of GeoCoordinate)
C# 
public IGeoPositionWatcher<GeoCoordinate> GeoPositionWatcher {get; set;}

Remarks

By default the position watcher used is Windows Phone's built-in System.Device.Location.GeoCoordinateWatcher. Overriding this makes it possible to assign a simulator instead.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.