summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kml/data.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/kml/data.php b/kml/data.php
index 0ca85b4..b7051bc 100644
--- a/kml/data.php
+++ b/kml/data.php
@@ -325,7 +325,7 @@ echo "<?xml version='1.0' encoding='UTF-8'?>\n";
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Funkfeuer Graz</name>
- <Style id="ffstyle_offline">
+ <Style id="0xff_node_offline">
<IconStyle id="myicon">
<color>a0ffffff</color>
<scale>0.5</scale>
@@ -337,7 +337,7 @@ echo "<?xml version='1.0' encoding='UTF-8'?>\n";
<scale>0.8</scale>
</LabelStyle>
</Style>
- <Style id="ffstyle_online">
+ <Style id="0xff_node_online">
<IconStyle id="myicon">
<color>f0ffffff</color>
<scale>0.5</scale>
@@ -349,7 +349,7 @@ echo "<?xml version='1.0' encoding='UTF-8'?>\n";
<scale>0.9</scale>
</LabelStyle>
</Style>
- <Style id="ffstyle_tunnel">
+ <Style id="0xff_node_tunnel">
<IconStyle id="myicon">
<color>f0ffffff</color>
<scale>0.5</scale>
@@ -361,7 +361,7 @@ echo "<?xml version='1.0' encoding='UTF-8'?>\n";
<scale>0.9</scale>
</LabelStyle>
</Style>
- <Style id="ffstyle_link">
+ <Style id="0xff_link_air">
<LabelStyle id="mylab_link">
<color>f099ffff</color>
<scale>0.9</scale>
@@ -376,7 +376,7 @@ echo "<?xml version='1.0' encoding='UTF-8'?>\n";
<fill>1</fill>
</PolyStyle>
</Style>
- <Style id="ffstyle_vpn">
+ <Style id="0xff_link_vpn">
<LabelStyle id="mylab_vpn">
<color>f0ff99ff</color>
<scale>0.9</scale>
@@ -403,7 +403,7 @@ foreach ($locations as $location) {
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);
- printf("\t" .' <styleUrl>#ffstyle_%s</styleUrl>' . "\n", $data->state);
+ printf("\t" .' <styleUrl>#0xff_node_online</styleUrl>' . "\n");
printf("\t" .' <Point>' . "\n");
printf("\t" .' <extrude>1</extrude>' . "\n");
printf("\t" .' <altitudeMode>relativeToGround</altitudeMode>' . "\n");
@@ -428,7 +428,7 @@ foreach ($locations as $location) {
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);
- printf("\t" .' <styleUrl>#ffstyle_offline</styleUrl><visibility>0</visibility>' . "\n");
+ printf("\t" .' <styleUrl>#0xff_node_offline</styleUrl><visibility>0</visibility>' . "\n");
printf("\t" .' <Point>' . "\n");
printf("\t" .' <extrude>1</extrude>' . "\n");
printf("\t" .' <altitudeMode>relativeToGround</altitudeMode>' . "\n");
@@ -452,7 +452,7 @@ 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><visibility>0</visibility>' . "\n", ($link->label=='-1' ? '#ffstyle_vpn' : '#ffstyle_link'));
+ printf("\t" .' <styleUrl>%s</styleUrl><visibility>0</visibility>' . "\n", ($link->label=='-1' ? '#0xff_link_vpn' : '#0xff_link_air'));
printf("\t" .' <LineString>' . "\n");
printf("\t" .' <extrude>1</extrude><tessellate>1</tessellate>' . "\n");
printf("\t" .' <altitudeMode>relativeToGround</altitudeMode>' . "\n");
@@ -476,7 +476,7 @@ 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>' . "\n", ($link->label=='-1' ? '#0xff_link_vpn' : '#0xff_link_air'));
printf("\t" .' <LineString>' . "\n");
printf("\t" .' <altitudeMode>clampedToGround</altitudeMode>' . "\n");
printf("\t" .' <coordinates>' . "\n");