Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "test"
Variables ¶
View Source
var ( Count int MVTCount int )
Functions ¶
func NewMVTTileProvider ¶ added in v0.12.0
NewMVTTileProvider setups a test provider for mvt tiles providers. The only supported parameter is "test_file", which should point to a mvt tile file to return for MVTForLayers
Types ¶
type TileProvider ¶
type TileProvider struct {
MVTTile []byte
}
TileProvider mocks out a tile provider
func (*TileProvider) Layers ¶
func (tp *TileProvider) Layers() ([]provider.LayerInfo, error)
Layers returns the configured layers, there is always only one "test-layer"
Click to show internal directories.
Click to hide internal directories.