Documentation
¶
Overview ¶
Package server implements the http frontend
Index ¶
Constants ¶
View Source
const ( // MaxTileSize is 500k. Currently just throws a warning when tile // is larger than MaxTileSize MaxTileSize = 500000 // MaxZoom will not render tile beyond this zoom level MaxZoom = 20 )
View Source
const DefaultLogFormat = "{{.Time}}:{{.RequestIP}} —— Tile:{{.Z}}/{{.X}}/{{.Y}}"
Variables ¶
This section is empty.
Functions ¶
func RegisterMap ¶
RegisterMap associates layers with map names
Types ¶
Click to show internal directories.
Click to hide internal directories.