For geolocation to work with Mobile Web, the user must be running a browser that supports the W3C's Geolocation API. The actual implementation of geolocation, and accuracy provided, is also a function of the user's browser as well as the device on which they're running that browser. As with iOS, Mobile Web apps will prompt users to grant permission to access your location. However, you cannot change the message displayed to users. That message is dependent on the browser he or she uses, but typically follows the form "www.example.com Would like to use your current location."
Windows Development considerations
In order to enable location service for Windows Phone, you need to provide appropriate
location Capability in your
tiapp.xml. Windows Phone users are prompted to grant or deny permission when your application attempt to use geolocation information. In any cases Windows Phone user should enable location service on their device preliminarily (
Settings -> location on Windows Phone 8.1,
Settings -> Privacy -> Location on Windows 10 Mobile).
<ti:app> ... <windows> ... <manifest> <Capabilities> <DeviceCapability Name="location" /> </Capabilities> </manifest> ... </windows> ... </ti:app>
Using Location Services in your App