Precision problem in Geolocation maps V3

1

I'm creating a location web app, using geolocation of google maps v3 .

The problem is that when my functions work, they can not get my location CORRETA NO Chrome do COMPUTADOR , but when I use the MEU CELULAR ELE OBTÉM browser.

// Read location from browser
function readLocation() {
    if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(successFunction, errorFunction);
    }
}

// Get the latitude and the longtitude
function successFunction(position) {
    var lat = position.coords.latitude;
    var lng = position.coords.longitude;
    codeLatLng(lat, lng)
}
  

I thought the problem was in my code, but it is not, because when I use Google's own location app, I get the same inaccuracy of location.

GOOGLE APP LINK

What would be the correct theory to justify why a location is found in my computer and in my cell phone it is a different one?

    
asked by anonymous 13.02.2016 / 23:59

2 answers

1

There is no precision, googlemaps is a tool that always works improving and updated data, but understand that this is globally and even being one of the largest companies in the world with satellite and everything still yes it is necessary that someone update this data.

Places that tend to have more precision are the most populous and even then have no way to update all, GPS as you say increases accuracy precisely because it works differently, it works GPS device with GPS signal "directly ", already in desktop computers with Web applications the process is all online and sends the data that it can find, but still works with a" database "and is hardly going to be so precise.

In my city (corrected at the end of 2015) there was a numbering error of houses in GoogleMaps of approximately 4km, the numbering in the middle of the main avenue was number 6000 (small town) and went up to 8000, but within these four kilometers the 6000 starts twice, some people in the company used the streetview to guide themselves, but they ended up getting lost, this happens because the one who updates is Google and so he does not have much to do on the side of his application.

However, some readings may interest you:

15.02.2016 / 01:07
0

Simple, today's cell phones are equipped with GPS (Global Position System) devices that enable software to get a precise position on the individual.

On a computer where in most cases the GPS device is absent the location is made through the user's IP address and considering that IP where you can only uncover the subject's region inaccurately.

    
14.02.2016 / 00:39