tilegroxy docs
Custom providers require a Go script file interpreted using Yaegi. See Extensibility for more information

Example

  • YAML

  • JSON

provider:
  name: custom
  file: /etc/tilegroxy/custom_proxy.go
  url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
{
  "provider": {
    "name": "custom",
    "file": "/etc/tilegroxy/custom_proxy.go",
    "url": "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
  }
}

Configuration

Configuration options
Parameter Description Type Required Default

file

An absolute file path to find the Go code implementing the provider

string

Yes

None

Any

Any additional parameter you include will be automatically supplied to your custom provider as-is

Any

No

None