stitch

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stitcher

type Stitcher interface {
	Stitch(width int, height int, zoom int, lat float64, long float64, label string) string
	Queue(width int, height int, zoom int, lat float64, long float64, label string) error
	StaticImage(width int, height int, zoom int, lat float64, long float64, label string) (string, error)
	StartWorker()
}

Stitcher interface

func Get

func Get() (Stitcher, error)

Get returns the stitcher singleton. Errors if it is not initialized

func New

func New(server *tile.Server, size int, cachePath string) Stitcher

New returns a new Stitcher for the tile server s. Size is the size of the queue buffer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL