#Datum:'.$datum;
echo '
#Limit:'.KM_LIMIT;
echo '
#Timeline:'.$timeline;
echo '
#Layer:' . $layer;
echo '
#MilestoneParameter:' . $msParameter;
}
if ($rthTest->isAdminMode()) {
if ($rthTest->isDebugMode()) {
echo '
#admin:'.$admin.' adminkey:'.$adminkey;
}
} else {
// $geoKoordinaten = getToday($gps, $rthTest);
// $geoKoordinaten = getDay($gps, $rthTest, $datum);
//
$geoKoordinatenLast = getLast($gps, $rthTest);
$longi = $geoKoordinatenLast['longitude'];
$lati = $geoKoordinatenLast['latitude'];
//$timi = europeanDate($geoKoordinatenLast['dateTime']);
$timi = showDate($geoKoordinatenLast);
//
$start = "2099-01-01 10:00:00";
$stop = "2099-01-01 12:00:00";
//
$geoKoordinaten = getDistanceTrip($gps, $rthTest, $lati, $longi, $timeline, $start, $stop);
//
if ($layer == 'milestones') {
//$milestones = getMilestones($gps, $rthTest, $lati, $longi, $timeline, $rthTest);
$milestones = getMilestonesTrip($gps, $rthTest, $lati, $longi, $timeline, $rthTest, $start, $stop);
}
if ($layer == 'flickr' && false) {
$feedRSSUrl = "http://api.flickr.com/services/feeds/geo/?id=" . FLICKR_ID . "&lang=de-de&format=feed-georss";
$feedRSSContents = file_get_contents($feedRSSUrl);
$feedRSSData = filterFlickrFeed($feedRSSContents, $gps, $rthTest);
$feedFile = 'flickr_feed.xml';
$fp = fopen($feedFile, "w");
fwrite($fp, $feedRSSData);
fclose($fp);
}
//
$jc5out .= " Welt";
}
?>