Web terrain: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 70: | Line 70: | ||
===='''Examples==== | ===='''Examples==== | ||
'''Query Tiling endpoint: /terrain/{ | '''Query Tiling endpoint: /terrain/{z}/{x}/{y}.txt''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain/3/2/1.txt?token=WEB_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/terrain/3/2/1.txt?token=WEB_TOKEN</syntaxhighlight> | ||
Revision as of 08:21, 29 June 2026
API Endpoint: web/terrain/{z}/{x}/{y}
GET txt
API Endpoint: web/terrain/{z}/{x}/{y}.txt
Content-Type: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| format | Path | String | |
| z | Path | int | |
| x | Path | int | |
| y | Path | int | |
| v | Query | String | |
| width | Query | int | 256 |
| height | Query | int | 256 |
| offset | Query | float | 0 |
| maptype | Query | Map Type | MAQUETTE |
| worlddatum | Query | boolean | false |
| decimation | Query | int | 16 |
Examples
Query Tiling endpoint: /terrain/{z}/{x}/{y}.txt:
https://engine.tygron.com/web/terrain/3/2/1.txt?token=WEB_TOKENGET bin
API Endpoint: web/terrain/{z}/{x}/{y}.bin
Content-Type: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| format | Path | String | |
| z | Path | int | |
| x | Path | int | |
| y | Path | int | |
| v | Query | String | |
| width | Query | int | 256 |
| height | Query | int | 256 |
| offset | Query | float | 0 |
| maptype | Query | Map Type | MAQUETTE |
| worlddatum | Query | boolean | false |
| decimation | Query | int | 16 |
Examples
Query Tiling endpoint: /terrain/{y}/{x}/{y}.bin:
https://engine.tygron.com/web/terrain/3/2/1.bin?token=WEB_TOKEN