precisionForAccuracy
precisionForAccuracy(
accuracyM):Precision
Returns the most precise segment that a GPS fix of this accuracy supports. The limits come from the spec’s precision data. Each limit is inclusive, so an accuracy equal to a limit gets the precision of that limit.
Parameters
Section titled “Parameters”accuracyM
Section titled “accuracyM”number | null
The GPS accuracy radius in metres, or null when it is unknown.
Returns
Section titled “Returns”unit, area, district or lga.
Example
Section titled “Example”precisionForAccuracy(6); // 'unit'precisionForAccuracy(35); // 'district'precisionForAccuracy(null); // 'lga'Unofficial. Not made or endorsed by NIPOST.