Hi Brendan,
A small example :
<?xml version="1.0" encoding="UTF-8"?><kml xmlns="http://
www.opengis.net/kml/2.2">
<Document>
<Placemark>
<name>PDF Link</name>
<Snippet maxLines="0"></Snippet>
<description>
<![CDATA[ <a href="../Mypdf.pdf">My PDF</a> ]]>
</description> n>
<Point>
<coordinates>102.595626,14.996729</coordinates>
</Point>
</Placemark>
</Document>
</kml>
This works only when saved as KMZ file with both KMZ and Mypdf.pdf in
the same folder. it will not work saved as KML because of the "../"
shift.
As for the network/internal browser problem (please see my second
post), I have tested this code on network with 2 conditions:
for example my 2 files (kmz and pdf) are saved on network folder
here : \\server_name\folder1\kmz_folder\my_files\
1. 1st condition is when '\\server_name\folder1\' is mapped as 'W:'
shortcut, then address to the files is W:\kmz_folder\my_files\
when kmz file is clicked from this W:\kmz_folder\my_files\mykmz.kmz
address, internal bowser works
2. 2nd condition: when kmz file is clicked from the same folder opened
from complete network address: \\server_name\folder1\kmz_folder
\my_files\mykmz.kmz address, internal bowser gives error: "Error
opening ///server_name/folder1/kmz_folder/my_files/mypdf.pdf : The
filename, directory name, or volume label syntax is incorrect."
Thank you for your help.
Lia
> > Lia- Hide quoted text -
>
> - Show quoted text -