render

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderFeature

func RenderFeature(f geojson.Feature, opts *RenderOptions) (go_image.Image, error)

func RenderIndexForImages

func RenderIndexForImages(images []*Image, opts *RenderOptions) error

Types

type Image

type Image struct {
	Filename string
	Label    string
}

func RenderFeatureAsPNG

func RenderFeatureAsPNG(f geojson.Feature, opts *RenderOptions) (*Image, error)

type RenderOptions

type RenderOptions struct {
	Labels bool
	Root   string
	Prefix string
}

Jump to

Keyboard shortcuts

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