XYZ Tiles
Configure a raster XYZ tile source from a URL template ({z}/{x}/{y}).
Syntax
{ "id": "n1", "op": "xyz-tiles", "name": "xyz-tiles", "x": 0, "y": 0, "params": {} }
One out of it starts at "sourcePort": "sourceConfig"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:tileSize, or read elsewhere as ch('xyz-tiles/tileSize').
Inputs
This operator has no input ports.
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
url | string | "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" | |
subdomains | string | "abc" | |
tileSize | float | 256 | |
minZoom | float | 0 | |
maxZoom | float | 19 | |
attribution | string | "" |
Outputs
| Port | Type |
|---|---|
sourceConfig | value |
Details
- Category: Output
- Operator:
xyz-tiles
Older projects
Projects saved before documents used operator classes. These convert to xyz-tiles when they open: XYZTileOp.