s2

package
v0.0.0-...-2414d7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrInvalidLatlng = "Invalid LatLng being sent"
	ErrInvalidLevel  = "Invalid level of S2Geo being sent"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Geo

type Geo struct {
	// contains filtered or unexported fields
}

func NewGeo

func NewGeo(level int) *Geo

func (*Geo) GetS2ID

func (g *Geo) GetS2ID(lat float64, lng float64) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL