layers

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LayerDescription

type LayerDescription struct {
	Name        string   `yaml:"name" json:"name" koanf:"name"`
	URL         string   `yaml:"url" json:"url" koanf:"url"`
	MinZoom     int      `yaml:"min_zoom" json:"min_zoom,omitempty" koanf:"min_zoom"`
	MaxZoom     int      `yaml:"max_zoom" json:"max_zoom,omitempty" koanf:"max_zoom"`
	Tms         bool     `yaml:"tms" json:"tms,omitempty" koanf:"tms"`
	TileType    string   `yaml:"tile_type" json:"tile_type,omitempty" koanf:"tile_type"`
	ServerParts []string `yaml:"server_parts" json:"server_parts,omitempty" koanf:"server_parts"`
}

func GetDefaultLayers

func GetDefaultLayers() []*LayerDescription

Jump to

Keyboard shortcuts

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