Determines whether a website that is hosted in the WebBrowser control can use location services on the device.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
This property is false by default.
If this property is set to true on the WebBrowser control, all websites that are navigated to within the WebBrowser control will have access to location services. For security reasons, you can set this property to false whenever the WebBrowser control navigates to any other website that your application does not host.
Even if this property is set to true, location services will not be accessible unless the ID_CAP_LOCATION capability is specified.
After setting this property, location services are immediately available for the currently loaded document.
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
Windows Phone 8, Windows Phone OS 7.1
For more info, see App capabilities and hardware requirements for Windows Phone 8.