ArcGIS API for Windows Phone - 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 Phone 7

See Also

© ESRI, Inc. All Rights Reserved.