Hi
Here is the KML file with the networklink, so u can open it with GE.
http://www.easttraxx.de/marker_network/networklink_marker.kml
Here is the code from the file on my server:
<?php
echo <<<LANG
<Document>
<StyleMap id="test">
<Pair>
<key>normal</key>
<styleUrl>#parcelNormal</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#parcelHighlight</styleUrl>
</Pair>
</StyleMap>
<Style id="parcelNormal">
<IconStyle>
<scale>0</scale>
<color>ffffffff</color>
<Icon>
<href>
http://maps.google.com/mapfiles/kml/pal4/icon56.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
<LabelStyle>
<color>FFFFFFFF</color>
</LabelStyle>
</Style>
<Style id="parcelHighlight">
<IconStyle>
<scale>0</scale>
<color>ff0000ff</color>
<Icon>
<href>
http://maps.google.com/mapfiles/kml/pal4/icon56.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
<LabelStyle>
<color>FF000000</color>
</LabelStyle>
<BalloonStyle>
<!-- a background color for the balloon -->
<bgColor>00ffffff</bgColor>
<!-- styling of the balloon text -->
<text><![CDATA[$[description]]]></text>
</BalloonStyle>
</Style>
LANG;
$xmlname=$_GET[xmlname];
$xml2=simplexml_load_file($xmlname.'.xml');
echo"
<Folder>
<name>Marker</name>
<open>0</open>";
$ii=0;
foreach($xml2->flurstueck as $fs)
{
foreach($xml2->flurstueck[$ii]->attributes() as $a => $b)
{
switch ($a)
{
case id: $name_m=$b;break;
case flaeche: $flaeche_m=$b;break;
case preis: $preis_m=$b;
case strasse: $strasse_m=$b;
case status: $status_m=$b;break;
case marker: $marker_m=$b;break;
}
}
if ($marker_m!=null)
{
echo "<Placemark>";
$desc_m="<table width=200 cellpadding=0 cellspacing=0 style=font-size:
10pt;>
<tr><td>Name: <font color=#cc0000><b>".$name_m."</b></td></tr>
<tr><td>Strasse: <font color=#cc0000><b>".$strasse_m."</b></td></tr>
<tr><td bgcolor=#8bb801><font color=#ffffff><b>Fläche: ".
$flaeche_m."qm</b></td></tr>
<tr><td bgcolor=#8bb801><font color=#ffffff><b>Preis: ".$preis_m."</
b></td></tr></table>";
echo "<name>".$name_m."</name>";
if ($status_m!="3")
{
echo "<description><![CDATA[".$desc_m."]]></description>";
}
echo "<styleUrl>#test</styleUrl>";
echo "<Point>
<extrude>0</extrude>
<altitudeMode>clampedToGround</altitudeMode>
<coordinates>".$marker_m."
</coordinates>
</Point>
";
echo "</Placemark>";
}
$ii++;
}
echo "
</Folder>
</Document>
</kml>";
?>
and here the XML i used to get the information for the markers:
http://www.easttraxx.de/marker_network/marker_daten.xml