Skip to content Skip to sidebar Skip to footer

HTML5 Geolocation Is Not Accurate

I was using the following code to get my current location. But the longitude and latitude generated was not at all accurate. It was showing a location about 700 Kms away from my lo

Solution 1:

Or you could try a different geocoding provider.

There are lots to choose from:

Disclaimer: I'm a developer at SmartyStreets.


Solution 2:

Probably you are not using GPS. If you aren't, then navigator.geolocation.getCurrentPosition returns a position based on your ISP


Post a Comment for "HTML5 Geolocation Is Not Accurate"