Not able to view images on using KML

2 views
Skip to first unread message

bujjigadu

unread,
Dec 3, 2009, 7:20:54 AM12/3/09
to KML Developer Support - Getting Started with KML
hi all,
i am facing a problem with <Networklink>. inside this i am calling a
PHP script using <href> tag. That script retruns a valid KML with
<GroundOverlay> options. But this is not working at all. Google earth
showing the link but not image.

on Google map nothing is happening.

can any one help me out.

please find the KML

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<visibility>1</visibility>
<NetworkLink>
<name>Random Placemark</name>
<flyToView>1</flyToView>
<Link>
<href>http://www.myserver.com/script/
xyz.php</href>
</Link>
</NetworkLink>
</Document>
</kml>

Thank you,

Met_Apps

unread,
Dec 17, 2009, 7:06:37 AM12/17/09
to KML Developer Support - Getting Started with KML
I believe you have to feed it a dynamic kml file.
API parses the script given inside your <href> tag and not the result
of that script.
http://code.google.com/apis/kml/documentation/kml_21tutorial.html#updates
Good luck.
Reply all
Reply to author
Forward
0 new messages