Companion

Factories for valid Geohash cells.

Properties

Link copied to clipboard
const val MaxLength: Int = 12

The longest supported address, 12 characters.

Functions

Link copied to clipboard
fun of(position: Position, length: Int): Geohash

Returns the cell of the given length that contains position.

Link copied to clipboard

Parses a base32ghs address after folding ASCII letters to lowercase.

Link copied to clipboard

Parses a base32ghs address, or returns null when text is invalid.