Documentation ¶
Index ¶
- func Decode(code uint64) (float64, float64)
- func Distance(latitude1, longitude1, latitude2, longitude2 float64) float64
- func Encode(latitude, longitude float64) uint64
- func FromInt(code uint64) []byte
- func GetNeighbours(latitude, longitude, radiusMeters float64) [][2]uint64
- func ToInt(buf []byte) uint64
- func ToString(buf []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNeighbours ¶
GetNeighbours returns geohash code of blocks within radiusMeters to the given coordinate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.