tile

package
v0.0.0-...-5682995 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxy

func NewProxy(tileUrl *url.URL, redirect bool) http.Handler

NewProxy creates a new proxy for the tile server. If the redirect parameter is false, then the returned proxy acts as reverse proxy and actively fetches the tiles from the tileUrl. If redirect is true, then the returned handler just sends 301 headers with the actual location of the requested tile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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