nextzen

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: BSD-3-Clause Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Layers []string

Functions

func CropTile

func CropTile(z int, x int, y int, fh io.ReadCloser) (io.ReadCloser, error)

func FetchTile

func FetchTile(z int, x int, y int, opts *Options) (io.ReadCloser, error)

func IsOverZoom added in v0.2.0

func IsOverZoom(z int) bool

func MaxZoom added in v0.2.0

func MaxZoom() int

Types

type Options

type Options struct {
	ApiKey      string
	Origin      string
	Debug       bool
	URITemplate *uritemplates.UriTemplate
}

Jump to

Keyboard shortcuts

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