Page tree
Skip to end of metadata
Go to start of metadata

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&watermark_position=center

Parameters

ParameterDescriptionTypeNoteMandatory
companyRTI comanpy keystring
yes
vehicleRTI vehicle keystringuse either vehicle or group parameter(yes)
groupRTI group keystringuse either vehicler or group parameter(yes)
map_widthmap width in pixel or percentinteger/string

default: 400 (pixel)

limit: 1024 (Pixel)

percent: 100%

no
map_heightmap height in pixel or percentinteger/string

default: 300 (pixel)

limit: 768 (pixel)

percent: 100%

no
languagelanguagestring

available languages

"deu" = german (default)

"gbr" = english

"ndl" = netherlands

"fra" = french

"ita" = italian

no
watermark_positionwatermark positionstring

available positions

"center" = center

"centerleft" = center left

"centeright" = center right

"topcenter" = top center

"bottomcenter" = bottom center

"bottomleft" = bottom left

"bottomright" = bottom right

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
https://map.yellowfox.de/rti/get_map.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY 

https://map.yellowfox.de/rti/get_map.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}
Map with group in 1024 x 768 px and english labels
https://map.yellowfox.de/rti/get_map.php?company=COMPANY_RTIKEY&group=GROUP_RTIKEY&map_width=1024&map_height=768&language=gbr 
map with differnet watermark position in full screen mode
https://map.yellowfox.de/rti/get_map.php?company=COMPANY_RTIKEY&group=GROUP_RTIKEY&map_width=100%&map_height=100%&watermark_position=bottomright
  • No labels