summaryrefslogtreecommitdiff
path: root/kml
diff options
context:
space:
mode:
authorMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-24 10:25:50 +0100
committerMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-24 10:25:50 +0100
commit98f0773267a0cd804dc49d924efcf986e0d38a71 (patch)
tree1b13c8eda301b3b6478d66543120df909f9b04b6 /kml
parentb69e2e8510e91c876a9e3f9d06a3304078de9055 (diff)
Links verbessert
Diffstat (limited to 'kml')
-rw-r--r--kml/data.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/kml/data.php b/kml/data.php
index c301f33..c3479de 100644
--- a/kml/data.php
+++ b/kml/data.php
@@ -464,9 +464,9 @@ foreach ($links as $link) {
// $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" .'<Placemark id="%s_%s">' . "\n", $data1->locid, $data2->locid);
printf("\t" .' <name>%s - %s</name>' . "\n", $data1->locname, $data2->locname);
- printf("\t" .' <styleUrl>%s</styleUrl>' . "\n", ($link->label=='-1' ? '#ffstyle_vpn' : '#ffstyle_link'));
+ printf("\t" .' <styleUrl>%s</styleUrl><visibility>0</visibility>' . "\n", ($link->label=='-1' ? '#ffstyle_vpn' : '#ffstyle_link'));
printf("\t" .' <LineString>' . "\n");
- printf("\t" .' <altitudeMode>clampedToGround</altitudeMode><visibility>0</visibility>' . "\n");
+ printf("\t" .' <altitudeMode>clampedToGround</altitudeMode>' . "\n");
printf("\t" .' <coordinates>' . "\n");
printf("\t" .' %s,%s' . "\n", $data1->lng, $data1->lat);
printf("\t" .' %s,%s' . "\n", $data2->lng, $data2->lat);