Web overlay: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 33: | Line 33: | ||
| id | | id | ||
| Query | | Query | ||
| | | String | ||
| -1 | | -1 | ||
|- | |- | ||
| Line 55: | Line 55: | ||
| String | | String | ||
| | | | ||
|- | |- | ||
| walled | | walled | ||
| Line 70: | Line 60: | ||
| boolean | | boolean | ||
| true | | true | ||
|- | |||
| transparent | |||
| Query | |||
| Boolean | |||
| | |||
|- | |- | ||
| styles | | styles | ||
| Line 77: | Line 72: | ||
|} | |} | ||
==== | ====Examples==== | ||
'''Basic Endpoint''': | '''Basic Endpoint''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&token=WEB_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&token=WEB_TOKEN</syntaxhighlight> | ||
'''Opaque Endpoint''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&transparent=false&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query with BBOX (EPSG:3857)''': | '''Query with BBOX (EPSG:3857)''': | ||
| Line 86: | Line 84: | ||
'''Query with width=512 and height=512''': | '''Query with width=512 and height=512''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&width=512&height=512&token=WEB_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&width=512&height=512&token=WEB_TOKEN</syntaxhighlight> | ||
'''Query for MapType: CURRENT''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&maptype=CURRENT&token=WEB_TOKEN</syntaxhighlight> | |||
'''Query for Timeframe: 0''': | '''Query for Timeframe: 0''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&timeframe=0&token=WEB_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlay.png?id=ID&timeframe=0&token=WEB_TOKEN</syntaxhighlight> | ||
{{article end | {{article end | ||
Latest revision as of 09:54, 2 October 2026
API Base URL: web/overlay
GET png
API Endpoint: web/overlay.png
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| maptype | Query | Map Type | MAQUETTE |
| bbox | Query | String | |
| width | Query | int | 256 |
| height | Query | int | 256 |
| id | Query | String | -1 |
| timeframe | Query | int | 0 |
| crs | Query | String | EPSG:3857 |
| forcexy | Query | Boolean | |
| bgcolor | Query | String | |
| walled | Query | boolean | true |
| transparent | Query | Boolean | |
| styles | Query | String |
Examples
Basic Endpoint:
https://engine.tygron.com/web/overlay.png?id=ID&token=WEB_TOKENOpaque Endpoint:
https://engine.tygron.com/web/overlay.png?id=ID&transparent=false&token=WEB_TOKENQuery with BBOX (EPSG:3857):
https://engine.tygron.com/web/overlay.png?id=ID&crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=WEB_TOKENQuery with width=512 and height=512:
https://engine.tygron.com/web/overlay.png?id=ID&width=512&height=512&token=WEB_TOKENQuery for MapType: CURRENT:
https://engine.tygron.com/web/overlay.png?id=ID&maptype=CURRENT&token=WEB_TOKENQuery for Timeframe: 0:
https://engine.tygron.com/web/overlay.png?id=ID&timeframe=0&token=WEB_TOKEN