Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TileJSON ¶
type TileJSON struct { Minzoom int `json:"minzoom"` Maxzoom int `json:"maxzoom"` Name string `json:"name"` Tiles []string `json:"tiles"` }
TileJSON represent tilejson only include min/max zoom ,url,name.
type TilesContext ¶
type TilesContext struct {
TableName, GeomColName, Cols, Filter string
mercantile.Tile
}
TilesContext represent parameters in tile request.
func NewTilesCtx ¶
func NewTilesCtx(tableName, geom, cols, filters string, tile mercantile.Tile) *TilesContext
NewTilesCtx create a new context for tile request.
Click to show internal directories.
Click to hide internal directories.