README ¶ go-mercantile Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Bbox type LngLat func (lngLat *LngLat) Truncate() func (lngLat *LngLat) XY(truncate bool) *XY type LngLatBbox type Tile func (t *Tile) Bounds() *LngLatBbox func (t *Tile) UpperLeft() *LngLat func (t *Tile) XYBounds() *Bbox type XY func (xy *XY) LngLat(truncate bool) *LngLat Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bbox ¶ type Bbox struct { Left float64 Bottom float64 Right float64 Top float64 } type LngLat ¶ type LngLat struct { Lng float64 Lat float64 } func (*LngLat) Truncate ¶ func (lngLat *LngLat) Truncate() func (*LngLat) XY ¶ func (lngLat *LngLat) XY(truncate bool) *XY type LngLatBbox ¶ type LngLatBbox struct { West float64 South float64 East float64 North float64 } type Tile ¶ type Tile struct { X int Y int Z int } func (*Tile) Bounds ¶ func (t *Tile) Bounds() *LngLatBbox func (*Tile) UpperLeft ¶ func (t *Tile) UpperLeft() *LngLat func (*Tile) XYBounds ¶ func (t *Tile) XYBounds() *Bbox type XY ¶ type XY struct { X float64 Y float64 } func (*XY) LngLat ¶ func (xy *XY) LngLat(truncate bool) *LngLat Source Files ¶ View all Source files mercantile.go Click to show internal directories. Click to hide internal directories.