Web terrain: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
===GET txt===
===GET txt===
API Endpoint: web/terrain/{z}/{x}/{y}.txt
API Endpoint: web/terrain/{z}/{x}/{y}.txt
Content-Type: application/json


'''Parameters:'''
'''Parameters:'''
Line 75: Line 73:
===GET bin===
===GET bin===
API Endpoint: web/terrain/{z}/{x}/{y}.bin
API Endpoint: web/terrain/{z}/{x}/{y}.bin
Content-Type: application/json


'''Parameters:'''
'''Parameters:'''

Revision as of 07:14, 7 July 2026

API Endpoint: web/terrain/{z}/{x}/{y}

GET txt

API Endpoint: web/terrain/{z}/{x}/{y}.txt

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_TOKEN

GET bin

API Endpoint: web/terrain/{z}/{x}/{y}.bin

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}.bin:

https://engine.tygron.com/web/terrain/3/2/1.bin?token=WEB_TOKEN

See also