Documentation
¶
Index ¶
- Constants
- func EncodeMetatile(w io.Writer, coord gopnik.TileCoord, tiles []gopnik.Tile) error
- func GetRawTileFromMetatile(r io.ReadSeeker, coord gopnik.TileCoord) ([]byte, error)
- func MetatileHashPath(outPath string, coord gopnik.TileCoord) (dirName, fName string)
- type FileCachePlugin
- type FileCachePluginFactory
Constants ¶
View Source
const MAXCOUNT = 1000
View Source
const MAXENTRYSIZE = 100000
Variables ¶
This section is empty.
Functions ¶
func EncodeMetatile ¶
func GetRawTileFromMetatile ¶
Types ¶
type FileCachePlugin ¶
type FileCachePlugin struct {
// contains filtered or unexported fields
}
func (*FileCachePlugin) Configure ¶
func (self *FileCachePlugin) Configure(cfg json.RawMessage) error
type FileCachePluginFactory ¶
type FileCachePluginFactory struct { }
func (*FileCachePluginFactory) Name ¶
func (self *FileCachePluginFactory) Name() string
func (*FileCachePluginFactory) New ¶
func (self *FileCachePluginFactory) New(cfg json.RawMessage) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.