How To Know Present Location Of Mobile?

How does HTML5 know my location?

  • It seems that the JS location request gets pretty much exact location. That can't be IP based, can it? How does it know my location?

  • Answer:

    HTML5 doesn't specify how the calculation is done, only how the data is made available.  It could be using GPS hardware in the device (like a phone), it could trilateration (people incorrectly often say triangulation) using info about nearby cell towers.  It could use a database of WiFi hotspots.  It could use an IP database.  It could be a user entered preset in theory (don't recall anything in the specs forbidding that).

Robert Accettura at Quora Visit the source

Was this solution helpful to you?

Other answers

It might use WiFi based GeoLocation as well: http://shop.empeeric.com/how-does-wifi-geolocation-work/

Refael Ackermann

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.