From b69e2e8510e91c876a9e3f9d06a3304078de9055 Mon Sep 17 00:00:00 2001 From: Mathias Mayrhofer Date: Mon, 24 Feb 2020 10:24:30 +0100 Subject: Links verbessert --- kml/data.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'kml') diff --git a/kml/data.php b/kml/data.php index f5360d0..c301f33 100644 --- a/kml/data.php +++ b/kml/data.php @@ -430,7 +430,7 @@ foreach ($locations as $location) { ?> - Links + Bodenlinks 1 ' . "\n"); printf("\t" .'' . "\n"); } +?> + + + Linienlinks + 0 +ipfromLoc]]; + $data2 = $locations[$locids[$link->iptoLoc]]; + //printf("\t" . '' . "\n", + // $data1->locid, $data1->locname, $data1->lat,$data1->lng,$data2->locid, $data2->locname, $data2->lat, $data2->lng, $link->label, $link->channel, $link->defaultroute, $link->frequency, $link->dnsfrom,$link->dnsto); + printf("\t" .'' . "\n", $data1->locid, $data2->locid); + printf("\t" .' %s - %s' . "\n", $data1->locname, $data2->locname); + printf("\t" .' %s' . "\n", ($link->label=='-1' ? '#ffstyle_vpn' : '#ffstyle_link')); + printf("\t" .' ' . "\n"); + printf("\t" .' clampedToGround0' . "\n"); + printf("\t" .' ' . "\n"); + printf("\t" .' %s,%s' . "\n", $data1->lng, $data1->lat); + printf("\t" .' %s,%s' . "\n", $data2->lng, $data2->lat); + printf("\t" .' ' . "\n"); + printf("\t" .' ' . "\n"); + printf("\t" .'' . "\n"); +} ?> -- cgit v1.2.1