tiles

package
v0.55.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AllProjections supported by GoKoala for serving (vector) tiles.
	// When adding a new projection also add corresponding HTML/JSON templates.
	AllProjections = map[string]string{
		"EPSG:28992": "NetherlandsRDNewQuad",
		"EPSG:3035":  "EuropeanETRS89_LAEAQuad",
		"EPSG:3857":  "WebMercatorQuad",
	}
)

Functions

This section is empty.

Types

type Tiles

type Tiles struct {
	// contains filtered or unexported fields
}

func NewTiles

func NewTiles(e *engine.Engine) *Tiles

func (*Tiles) Tile

func (t *Tiles) Tile(tilesConfig config.Tiles) http.HandlerFunc

Tile reverse proxy to configured tileserver/object storage. Assumes the backing resource is publicly accessible.

func (*Tiles) TileForCollection added in v0.54.2

func (t *Tiles) TileForCollection(tilesConfigByCollection map[string]config.Tiles) http.HandlerFunc

TileForCollection reverse proxy to configured tileserver/object storage for tiles within a given collection. Assumes the backing resource is publicly accessible.

func (*Tiles) TileMatrixSet

func (t *Tiles) TileMatrixSet() http.HandlerFunc

func (*Tiles) TileMatrixSets

func (t *Tiles) TileMatrixSets() http.HandlerFunc

func (*Tiles) Tileset

func (t *Tiles) Tileset() http.HandlerFunc

func (*Tiles) TilesetForCollection added in v0.54.0

func (t *Tiles) TilesetForCollection() http.HandlerFunc

func (*Tiles) TilesetsList

func (t *Tiles) TilesetsList() http.HandlerFunc

func (*Tiles) TilesetsListForCollection added in v0.54.0

func (t *Tiles) TilesetsListForCollection() http.HandlerFunc

Jump to

Keyboard shortcuts

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