Returns a map with requested vehicle or group.
Description
GET get_map.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&language=gbr&map_width=400&map_height=300
Parameters
parameter | descriptiondescription | type | note | mandatory |
---|---|---|---|---|
company | RTI comanpy key | string | yes | |
vehicle | RTI vehicle key | string | use either vehicle or group parameter | (yes) |
group | RTI group key | string | use either vehicler or group parameter | (yes) |
map_width | map width in pixel | integer | default: 400 (pixel) limit: 1024 (Pixel) | no |
map_height | map height in pixel | integer | default: 300 (pixel) limit: 768 (pixel) | no |
language | language | string | available languages "deu" = german (default) "gbr" = english "ndl" = netherlands "fra" = french "ita" = italian | no |
Return
Return a HTML page showing the map with requested vehicle or group icons. On error return string "ERROR:Description".
Example calls
Map with current vehicle position
http://map.yellowfox.de/rti/get_map.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY
Map with group in 1024 x 768 px and english labels
http://map.yellowfox.de/rti/get_map.php?company=COMPANY_RTIKEY&group=GROUP_RTIKEY&map_width=1024&map_height=768&language=gbr