Skip to content

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.

number | null

The GPS accuracy radius in metres, or null when it is unknown.

Precision

unit, area, district or lga.

precisionForAccuracy(6); // 'unit'
precisionForAccuracy(35); // 'district'
precisionForAccuracy(null); // 'lga'

Unofficial. Not made or endorsed by NIPOST.