Documentation ¶
Overview ¶
package http provides HTTP handlers for serving tile requests for one or more MBTiles databases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MBTilesHandler ¶
func MBTilesHandler(catalog map[string]tilepack.MbtilesReader) (gohttp.HandlerFunc, error)
MBTilesHandler will return a http.HandlerFunc handler for serving tile requests from 'catalog' using the tile.NewSimpleTileParser parser.
func MBTilesHandlerWithParser ¶
func MBTilesHandlerWithParser(catalog map[string]tilepack.MbtilesReader, p tile.TileParser) (gohttp.HandlerFunc, error)
MBTilesHandler will return a http.HandlerFunc handler for serving tile requests from 'catalog' using a custom tile.TileParser instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.