tileserver

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ALL            = -1
	BASE_DECIMAL   = 10
	MAX_ZOOM_LEVEL = 19
	TEMPLATE_X     = "${x}"
	TEMPLATE_Y     = "${y}"
	TEMPLATE_ZOOM  = "${z}"
	TILE_SIZE      = 256
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OSMTileServer

type OSMTileServer interface {
	Get(z uint8, x uint32, y uint32) (tile.Image, error)
}

* A remote tile server serving OpenStreetmaps data.

func CreateOSMTileServer

func CreateOSMTileServer(uri string) OSMTileServer

* Creates a connection to a remote tile server serving OpenStreetMaps data.

Jump to

Keyboard shortcuts

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