Hotline:    +43 664 398 7279   /   +420 602 344 708   /   info@maseksped.com   

_getAllCarsPosition($kodf, $username, $pass); // array of cars to show on the map $cars = array(); if (isset($car_positions->item) && is_array($car_positions->item)) { foreach ($car_positions->item as $position) { // show only cars with valid coordinates if ($position->latitude != 0 || $position->longitude != 0) { // Insertion of latitude, longitude and speed $cars[$position->carid] = array( 'latitude' => $position->latitude, 'longitude' => $position->longitude, 'speed' => $position->speed, ); } } // the _getCarsList () function returns also a car registration number $car_list = $client->_getCarsList($kodf, $username, $pass); if (isset($car_list->item) && is_array($car_list->item)) { foreach ($car_list->item as $car) { if (isset($cars[$car->carid])) { $cars[$car->carid]['identifier'] = $car->identifikator; // car registration number } } } } ?>

inPage - Website mit AI, Domain und Web-Hosting

MASEK TRANSPORTS - Your international transport and forwarding company