Update oebbApi_v0.3.php
removed dev echo
This commit is contained in:
parent
4764e49536
commit
c6a4745d52
|
@ -149,7 +149,6 @@ class oebbApi {
|
||||||
} else {
|
} else {
|
||||||
$time = $this->timeToMinutes($lastTime, $returnArray[$i][$j]["time"]);
|
$time = $this->timeToMinutes($lastTime, $returnArray[$i][$j]["time"]);
|
||||||
$km = $this->coordsToKm(floatval($lastXcoord)/1000000, floatval($lastYcoord)/1000000, floatval($returnArray[$i][$j]["xcoord"])/1000000, floatval($returnArray[$i][$j]["ycoord"])/1000000);
|
$km = $this->coordsToKm(floatval($lastXcoord)/1000000, floatval($lastYcoord)/1000000, floatval($returnArray[$i][$j]["xcoord"])/1000000, floatval($returnArray[$i][$j]["ycoord"])/1000000);
|
||||||
echo "->" . $time . "min - " . $km . "km\n";
|
|
||||||
if(($km)/($time) < 6) {
|
if(($km)/($time) < 6) {
|
||||||
$tempArray[] = $returnArray[$i][$j];
|
$tempArray[] = $returnArray[$i][$j];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue