# README
orb/maptile 
Package maptile
provides types and methods for working with
web mercator map tiles.
It defines a tile as:
type Tile struct {
X, Y uint32
Z Zoom
}
type Zoom uint32
Functions are provided to create tiles from lon/lat points as well as
quadkeys.
The tile defines helper methods such as Parent()
, Children()
, Siblings()
, etc.
List of sub-package utilities
tilecover
- computes the covering set of tiles for anorb.Geometry
.
Similar libraries in other languages:
- mercantile - Python
- sphericalmercator - Node
- tilebelt - Node
# Packages
Package tilecover computes the covering set of tiles for an orb.Geometry.
# Functions
At creates a tile for the point at the given zoom.
ChildrenInZoomRange returns all the children tiles of tile from ranges [zoomStart, zoomEnd], both ends inclusive.
Fraction returns the precise tile fraction at the given zoom.
FromQuadkey creates the tile from the quadkey.
New creates a new tile with the given coordinates.