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
Click to show internal directories.
Click to hide internal directories.