none
Windows Phone 8 Emulator returns Microsofts Location only

    Question

  • When I run this code in my application:

    var geoPosition = await geoLocator.GetGeopositionAsync();

    The coordinate returned is located at Microsoft HQ in Redmond. However I'm using the emulator additional tools to update the location and setting the current location to one in Sweden.

    Is this a bug? Anyone else having this?

    Wednesday, December 26, 2012 12:27 AM

Answers

  • It seems to be a bug.

    However, running the native Maps application seems to fix it. Here is something I noticed:

    1. Set a current location in the emulator.
    2. Run my app. It reports the current location as Redmond.
    3. Run the Maps application. It correctly goes to the location I set in step 1.
    4. Run my app again. Now it uses the correct current location.

    Richard Woo
    • Marked as answer by davidhagg Wednesday, December 26, 2012 9:04 AM
    Wednesday, December 26, 2012 4:00 AM
  • Hi ,

    Can you try setgin the accuracy for the geo locator like this and let me know if it resolves the issue?

    geoLocator.DesiredAccuracy = Windows.Devices.Geolocation.PositionAccuracy.High;

    -Rashmi.

    • Marked as answer by davidhagg Saturday, January 12, 2013 9:13 AM
    Monday, January 07, 2013 9:02 PM

All replies

  • It seems to be a bug.

    However, running the native Maps application seems to fix it. Here is something I noticed:

    1. Set a current location in the emulator.
    2. Run my app. It reports the current location as Redmond.
    3. Run the Maps application. It correctly goes to the location I set in step 1.
    4. Run my app again. Now it uses the correct current location.

    Richard Woo
    • Marked as answer by davidhagg Wednesday, December 26, 2012 9:04 AM
    Wednesday, December 26, 2012 4:00 AM
  • Thanks, this works!

    However if I add a new location it again takes the redmond coordinate. This feels like a serious bug, strange I could not read more about it somewhere. Is nobody using the tools in the emulator?

    /david

    Wednesday, December 26, 2012 9:03 AM
  • Hi ,

    Can you try setgin the accuracy for the geo locator like this and let me know if it resolves the issue?

    geoLocator.DesiredAccuracy = Windows.Devices.Geolocation.PositionAccuracy.High;

    -Rashmi.

    • Marked as answer by davidhagg Saturday, January 12, 2013 9:13 AM
    Monday, January 07, 2013 9:02 PM
  • @RashimA This seems to do the trick!

    Thanks!

    Saturday, January 12, 2013 9:13 AM
  • No Luck.Still showing Redmond Location
    Tuesday, March 26, 2013 5:55 AM
  • I am having the same problem

    The WP8 Emulator only returns Microsofts Redmond HQ location.   Bug still exists, despite the example demonstrating London as the Live Emulator Locaiton feed.

    Why is this still broken nearly a year after Release ?


    Silverlight an XNA Fan

    Saturday, November 09, 2013 1:22 PM
  • Any update on this issue?

    Raj

    Monday, March 17, 2014 10:28 AM