encode

fun encode(latitude: Double, longitude: Double, precision: Int): String

Encodes latitude and longitude into a geohash string.

Return

The encoded geohash string.

Parameters

latitude

The latitude to encode.

longitude

The longitude to encode.

precision

The precision of the geohash.

See also