Main parameters

Use GET method to send parameters to the iframe. Authentication token known as authToken is the most important parameter that allows the use of the iframe. The token can be aquired by loging in via API: http://wiki.hogs.live/autoryzacja-2/

Mode parameter defines the mode in which iframe can be started i.e. what functions are offered, ex. mode= calculateRoute means route plotting mode. Options ia a supplementary mode that contains all information needed to aquired specified behaviour ex. parameters characteristic for route.

<iframe src="https://iframe.hogs.live/?authToken=<authToken>&mode=<mode>&options=<options>"></iframe>

ParameterTypeComments
authToken string authorisation token
mode string Parameter that defines how iframe will be started ex. route plotting mode
options string JSON in text format containing map mode settings.
centerMap {„lng”: string | number, „lat”:string | number} Coordinates that define where the map will be centered, ex. {„lng”:”9.99183″,”lat”:”53.55375″}. Optional parameter.
zoom number Zoom value when loading the map, ex. 12. Optional parameter.
lang ENG | DEU | CZE | ESP | FRA | POL | RUS | UKR Application language. Default value: ENG.