Wiki source code of get_map.asp
Last modified by YellowFox_RD on 2024/12/19 10:11
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | (% class="box" %) |
![]() |
2.1 | 2 | (((Table of Contents))) |
![]() |
1.1 | 3 | {{toc/}} |
4 | |||
5 | (% class="red mark" %)DEPRECATED(%%) | ||
![]() |
2.1 | 6 | Returns a map with requested vehicle or vehicle Group |
7 | = Description = | ||
8 | **get_map.asp?company**=COMPANY_RTIKEY**&vehicle**=VEHICLE_RTIKEY**&gps**=valid**&language**=gbr**&map_width**=400**&map_height**=300 | ||
9 | = Parameters = | ||
10 | |=parameter|=descriptiondescription|=type|=note|=mandatory | ||
11 | |company|RTI comanpy key|string||yes | ||
12 | |vehicle|RTI vehicle key|string|use either vehicle or group parameter|(yes) | ||
13 | |group|RTI vehicle group key|string|use either vehicler or group parameter|(yes) | ||
14 | |map_width|map width in pixel|integer|default: 400 (pixel) | ||
15 | limit: 1024 (Pixel)|no | ||
16 | |map_height|map height in pixel|integer|default: 300 (pixel) | ||
17 | limit: 768 (pixel)|no | ||
18 | |gps|filter bad gps messges|string|set "valid" as value to activate|no | ||
19 | |language|language|string|available languages | ||
20 | "deu" = german (default) | ||
21 | "gbr" = english | ||
22 | "ndl" = netherlands | ||
23 | "fra" = french | ||
24 | "ita" = italian|no | ||
![]() |
1.1 | 25 | |
![]() |
2.1 | 26 | = Return = |
27 | Return a HTML page showing the map with requested vehicle or vehicle group icons. On error return string "(% class="error" %)**ERROR:Description**(%%)". | ||
28 | = Example calls = | ||
29 | **Map with current vehicle position** | ||
30 | {{code language="java"}}https://map.yellowfox.de/rti/get_map.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY {{/code}} | ||
![]() |
1.1 | 31 | |
![]() |
2.1 | 32 | **Map with vehicle group in 1024 x 768 px and english labels** |
33 | {{code language="java"}}https://map.yellowfox.de/rti/get_map.asp?company=COMPANY_RTIKEY&group=GROUP_RTIKEY&map_width=1024&map_height=768&language=gbr {{/code}} | ||
![]() |
1.1 | 34 |