summaryrefslogtreecommitdiff
path: root/kml
diff options
context:
space:
mode:
authorMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 14:44:43 +0100
committerMathias Mayrhofer <mtmayr@mtmayr.com>2020-02-23 14:44:43 +0100
commit7d0db278bcbdb754d9d2b596629552f62152ac39 (patch)
tree506ec489cbc486c8147f38b5218c10f959153afa /kml
parentaff742b67c367a326458c4b4202224bcdca3f69d (diff)
HotSpot
Diffstat (limited to 'kml')
-rw-r--r--kml/convert_xml_kml.xsl4
-rw-r--r--kml/data.php7
2 files changed, 6 insertions, 5 deletions
diff --git a/kml/convert_xml_kml.xsl b/kml/convert_xml_kml.xsl
index 3217143..bf625db 100644
--- a/kml/convert_xml_kml.xsl
+++ b/kml/convert_xml_kml.xsl
@@ -10,7 +10,7 @@
<color>a0ffffff</color>
<scale>0.5</scale>
<Icon><href>https://juwelierkassa.at/dots/dot_red.png</href></Icon>
- <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+ <hotSpot x="0.6" y="0.4" xunits="fraction" yunits="fraction"/>
</IconStyle>
<LabelStyle id="mylab">
<color>a000ffff</color>
@@ -22,7 +22,7 @@
<color>f0ffffff</color>
<scale>0.5</scale>
<Icon><href>https://juwelierkassa.at/dots/dot_green.png</href></Icon>
- <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+ <hotSpot x="0.6" y="0.4" xunits="fraction" yunits="fraction"/>
</IconStyle>
<LabelStyle id="mylab">
<color>f000ffff</color>
diff --git a/kml/data.php b/kml/data.php
index 639021a..066a446 100644
--- a/kml/data.php
+++ b/kml/data.php
@@ -314,8 +314,9 @@ foreach ($lines as $num => $line)
}
}
+echo "<?xml version='1.0' encoding='UTF-8'?>\n";
+
?>
-<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Funkfeuer Graz</name>
@@ -324,7 +325,7 @@ foreach ($lines as $num => $line)
<color>a0ffffff</color>
<scale>0.5</scale>
<Icon><href>dot_red.png</href></Icon>
- <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+ <hotSpot x="0.6" y="0.4" xunits="fraction" yunits="fraction"/>
</IconStyle>
<LabelStyle id="mylab">
<color>a000ffff</color>
@@ -336,7 +337,7 @@ foreach ($lines as $num => $line)
<color>f0ffffff</color>
<scale>0.5</scale>
<Icon><href>dot_green.png</href></Icon>
- <hotSpot x="0.5" y="0.5" xunits="fraction" yunits="fraction"/>
+ <hotSpot x="0.6" y="0.4" xunits="fraction" yunits="fraction"/>
</IconStyle>
<LabelStyle id="mylab">
<color>f000ffff</color>