test

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "test"

Variables

View Source
var Count int

Functions

func Cleanup

func Cleanup()

Cleanup cleans up all the test providers.

func NewTileProvider

func NewTileProvider(config dict.Dicter) (provider.Tiler, error)

NewProvider setups a test provider. there are not currently any config params supported

Types

type TileProvider

type TileProvider struct{}

func (*TileProvider) Layers

func (tp *TileProvider) Layers() ([]provider.LayerInfo, error)

func (*TileProvider) TileFeatures

func (tp *TileProvider) TileFeatures(ctx context.Context, layer string, t provider.Tile, fn func(f *provider.Feature) error) error

TilFeatures always returns a feature with a polygon outlining the tile's Extent (not Buffered Extent)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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