Maybe i got my head around this wrong, after stfw i could not find any info on this. When the geolocation api returns your position with latitute, longitude and accuracy (p.coords.accuracy), does the accuracy parameter return diameter or radius of your position? For instance, if accuracy of my position is 24 meters, does that mean i could be standing anywhere within a radius of 24 meters of my position, or within 12 meters radius of my position (that would give a 24 meters diameter, me being in the middle of the circle of accuracy)
Any help appreciated!
It has the highest accuracy; in most Android smartphones, the accuracy can be up to 10 metres. Mobile phone tracking is used if a cellphone or wireless modem is used without a GPS chip built in.
The Geolocation API provides access to geographical location information associated with the hosting device.
The Geolocation API is a very simple API that allows to get a device's current location coordinates. It has only two methods: getCurrentPosition and watchPosition and the data returned is very straightforward, but when coupled with a mapping API, complex location-aware web apps can be created.
A desktop browser is likely to use WiFi (accurate to 20m) or IP Geolocation which is only accurate to the city level and can provide false positives. Mobile devices tend to use triangulation techniques such as GPS (accurate to 10m and only works outside), WiFi and GSM / CDMA cell IDs (accurate to 1000m).
It would be the radius. So if the accuracy is 24, then the true position is within 24 meters, which would mean it would lie within a circle with radius 24 around the coordinate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With