Skip to content

Instantly share code, notes, and snippets.

@zoint
Created December 9, 2013 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoint/7867765 to your computer and use it in GitHub Desktop.
Save zoint/7867765 to your computer and use it in GitHub Desktop.
Start position tracking Windows Phone 8
public void StartTracking()
{
_geolocator.ReportInterval = (uint)TimeSpan.FromSeconds(30).TotalMilliseconds;
_geolocator.MovementThreshold = 100;
// this implicitly starts the tracking operation
_geolocator.PositionChanged += PositionChangedHandler;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment