# README
tegola's built in viewer code is stored in the static/ directory. To generate a bindata file so the static assets can be compiled into the binary, bindata-assetfs is used. Once bindata-assetfs is installed the following command can be used to generate the file for inclusion:
go-bindata-assetfs -pkg=server -ignore=.DS_Store static/...
bindata-assetfs also supports a debug mode which is descriped as "Do not embed the assets, but provide the embedding API. Contents will still be loaded from disk." This mode is ideal for development and can be configured using the following command:
go-bindata-assetfs -debug -pkg=server -ignore=.DS_Store static/...
# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
MustAsset is like Asset but panics when Asset would return an error.
NewMap creates a new map with the necessary default values.
RegisterMap associates layers with map names.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
Start starts the tile server binding to the provided port.
TileCacheHandler implements a request cache for tiles on requests when the URLs have a /:z/:x/:y scheme suffix (i.e.
# Constants
No description provided by the author
MaxTileSize is 500k.
MaxZoom will not render tile beyond this zoom level.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author