Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistanceBoundingCheck ¶
func DistanceBoundingCheck(slat, slon float64, distance float64) (topLeft GeoLocation, bottomRight GeoLocation)
func GeoEncode ¶
func GeoEncode(gl *GeoLocation, precision int) string
GeoEncode encodes GeoLocation
func IsGeoLocationInArea ¶
func IsGeoLocationInArea(gl *GeoLocation, lTopLeft, lBottomRight *GeoLocation) bool
Types ¶
type GeoLocation ¶
type GeoLocation struct {
// contains filtered or unexported fields
}
GeoLocation holds geo location info
Click to show internal directories.
Click to hide internal directories.