Web water: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Server@tygron.com (talk | contribs)
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
API Endpoint: web/water
API Base URL: web/water


===GET txt===
===GET txt===
Line 57: Line 57:
|}
|}


===='''Examples====
====Examples====
'''Query Water instead of Terrain elevation''':
'''Query Water instead of Terrain elevation''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.txt?token=WEB_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.txt?token=WEB_TOKEN</syntaxhighlight>
===GET tex===
API Endpoint: web/water.tex
'''Parameters:'''
{|class=wikitable
!Name
!Location
!Type
!Default value
|-
| format
| Path
| String
|
|-
| id
| Query
| Integer
|
|-
| maptype
| Query
| [[Map Type]]
| MAQUETTE
|-
| width
| Query
| int
| 256
|-
| height
| Query
| int
| 256
|-
| offset
| Query
| float
| 0
|-
| flipY
| Query
| boolean
| false
|-
| worlddatum
| Query
| boolean
| false
|-
| decimation
| Query
| int
| 16
|}
===='''Examples====
'''Query Water instead of Terrain elevation''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.tex?token=WEB_TOKEN</syntaxhighlight>
===GET bin===
API Endpoint: web/water.bin
'''Parameters:'''
{|class=wikitable
!Name
!Location
!Type
!Default value
|-
| format
| Path
| String
|
|-
| id
| Query
| Integer
|
|-
| maptype
| Query
| [[Map Type]]
| MAQUETTE
|-
| width
| Query
| int
| 256
|-
| height
| Query
| int
| 256
|-
| offset
| Query
| float
| 0
|-
| flipY
| Query
| boolean
| false
|-
| worlddatum
| Query
| boolean
| false
|-
| decimation
| Query
| int
| 16
|}
===='''Examples====
'''Query Water instead of Terrain elevation''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/water.bin?token=WEB_TOKEN</syntaxhighlight>


{{article end
{{article end

Latest revision as of 16:06, 20 November 2026

API Base URL: web/water

GET txt

API Endpoint: web/water.txt

Parameters:

Name Location Type Default value
format Path String
id Query Integer
maptype Query Map Type MAQUETTE
width Query int 256
height Query int 256
offset Query float 0
flipY Query boolean false
worlddatum Query boolean false
decimation Query int 16

Examples

Query Water instead of Terrain elevation:

https://engine.tygron.com/web/water.txt?token=WEB_TOKEN

See also