diff options
Diffstat (limited to 'kml')
-rw-r--r-- | kml/data.php | 4 |
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); |