network link and groundoverlay in a local file
I am new in gearth. I am trying to launch GEarth with a file containing this code:
<?xml version="1.0" encoding="UTF-8"?>
<name>Mapa de Cabo Ajo a Cabo Higuer</name>
<name>Carta 128: de Cabo Ajo a Cabo Higuer</name>
ELINK: is a http link to a java aplication where a KML generator is running and working properly.
The problem is that if I run GEarth with this kml file, I can only see the folders and lays generated by the java application but I cannot see the jpg file I want to use as ground overlay.
I have tried to extract the NetworkLink part and execute it in a different file. Then, one file loads the jpg and the other one adds a network link to the GEarth, but I don┤t know why, when I fetch all the code in a single file, I can only get the ELINK working.
Thanks in advance.
At quick glance code looks ok. Try creating the Ground Overlay code with GE (Add|Image Overlay). Then Save As KML. That way you will be starting with good code. Modify from there.
Thanks for the help. A small detail fixed. Folder must be closed after the Networklink and not before.