none
getCurrentPosition not working with Chrome v50 RRS feed

  • Question

  • Hi

    I use the following code to get the user's location. It worked fine in Chrome v49 and still works fine in IE11, however since Chrome updated to v50 it shows the map with the world as its initial view. Has anyone else seen this?

    // Initialize the location provider
    var geoLocationProvider = new Microsoft.Maps.GeoLocationProvider(map);

    // Get the user's current location
    geoLocationProvider.getCurrentPosition();

    Tuesday, May 24, 2016 2:08 PM

Answers