Versions in this module Expand all Collapse all v0 v0.10.0 Apr 3, 2020 Changes in this version + func ConvertIntToString(hash uint64, chars uint) string + func ConvertStringToInt(hash string) (uint64, uint) + func Validate(hash string) error v0.9.0 Apr 3, 2019 Changes in this version + func Decode(hash string) (lat, lng float64) + func DecodeCenter(hash string) (lat, lng float64) + func DecodeInt(hash uint64) (lat, lng float64) + func DecodeIntWithPrecision(hash uint64, bits uint) (lat, lng float64) + func Encode(lat, lng float64) string + func EncodeInt(lat, lng float64) uint64 + func EncodeIntWithPrecision(lat, lng float64, bits uint) uint64 + func EncodeWithPrecision(lat, lng float64, chars uint) string + func Neighbor(hash string, direction Direction) string + func NeighborInt(hash uint64, direction Direction) uint64 + func NeighborIntWithPrecision(hash uint64, bits uint, direction Direction) uint64 + func Neighbors(hash string) []string + func NeighborsInt(hash uint64) []uint64 + func NeighborsIntWithPrecision(hash uint64, bits uint) []uint64 + type Box struct + MaxLat float64 + MaxLng float64 + MinLat float64 + MinLng float64 + func BoundingBox(hash string) Box + func BoundingBoxInt(hash uint64) Box + func BoundingBoxIntWithPrecision(hash uint64, bits uint) Box + func (b Box) Center() (lat, lng float64) + func (b Box) Contains(lat, lng float64) bool + func (b Box) Round() (lat, lng float64) + type Direction int + const East + const North + const NorthEast + const NorthWest + const South + const SouthEast + const SouthWest + const West