mcmap

package
v0.0.0-...-1d4e844 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cache

func Cache(tempDirectory string, x, z int, img []byte) error

Cache image to temp directory

func DrawMap

func DrawMap(r *mcdata.RegionInfo) ([]byte, error)

Draw region info as map image in PNG format

func MaybeCached

func MaybeCached(tempDirectory string, x, z int) ([]byte, error)

Return cached image if exists, otherwise return error

Types

This section is empty.

Jump to

Keyboard shortcuts

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