tileserver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const MbtilesContentType = "application/vnd.mbtiles"

MbtilesContentType marks an artifact as mbtiles.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(store *artifacts.LocalStore) *Server

func (*Server) Handler

func (s *Server) Handler() http.Handler

func (*Server) OnArtifactWritten

func (s *Server) OnArtifactWritten(ctx context.Context, entityID, contentType string)

OnArtifactWritten reads tile format from uploaded mbtiles and pushes MapLayer.Tiles.Url.

Jump to

Keyboard shortcuts

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