mapcutter

package module
v0.0.0-...-ebb5d5c Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

README

MapCutter

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleTile

type HandleTile func(r io.Reader, zoom int, x int, y int)

func (HandleTile) HandleTile

func (f HandleTile) HandleTile(r io.Reader, zoom int, x int, y int)

type TileCutter

type TileCutter interface {
	CutTile(w io.Writer, zoomLevel int, posX int, posY int) error
	CutAllTiles(TileHandler) error
}

func NewMap

func NewMap(sourceFile io.Reader) (TileCutter, error)

type TileHandler

type TileHandler interface {
	HandleTile(r io.Reader, zoom int, x int, y int)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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