' . staticmap(Array( +echo '
' . staticmap($stopPositions) . '
'; +} else { + echo '' . staticmap(Array( 0 => Array( $stop[2], $stop[3] ) )) . '
'; +} echo '- ';
$url = $APIurl . "/json/stoptrips?stop=" . $stopid . "&time=" . midnight_seconds() . "&service_period=" . service_period();
$trips = json_decode(getPage($url));