summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 15:08:02 +0100
committerMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 15:08:02 +0100
commit150d595ef5e09381fc14cc47966f8335310c8779 (patch)
tree0d51e850f58e3823635fac0d4a572c2c0c6d996e
parent17922abc8c0a58ef949a90cb164bddbd4f4e37f5 (diff)
Test
-rw-r--r--kml/data.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/kml/data.php b/kml/data.php
index 6b169a7..dacdbc8 100644
--- a/kml/data.php
+++ b/kml/data.php
@@ -390,7 +390,6 @@ foreach ($locations as $location) {
$data = $locations[$location->locid];
//printf("\t" . '<node id="%s" name="%s" lat="%s" lng="%s" pixel_x="%s" pixel_y="%s" state="%s" gallery_link="%s" router_links="%s"/>' . "\n",
// $data->locid, $data->locname, $data->lat, $data->lng, $data->pixel_x, $data->pixel_y, $data->state, $data->gallery_link, $data->dnsnames);
- if ($data->state!='offline') {
printf("\t" .'<Placemark id="%s">' . "\n", $data->locid);
printf("\t" .' <name>%s</name>' . "\n", $data->locname);
printf("\t" .' <description><br>%s</br><br>%s</br><br>#%s, %s</br></description>' . "\n", $data->gallery_link, $data->dnsnames, $data->locid, $data->state);
@@ -403,7 +402,6 @@ foreach ($locations as $location) {
printf("\t" .' </coordinates>' . "\n");
printf("\t" .' </Point>' . "\n");
printf("\t" .'</Placemark>' . "\n");
- }
}
?>
</Folder>