On May 30, 9:21 pm, Jay_D wrote:
> Wow! This looks like it will be quite useful. I just made a quick
> little test, and added a complex (3mb) kmz file as a network link.
> After getting that working I added LiveWeb to Powerpoint, and dropped
> the webpage into Powerpoint as an interactive slide. Which works
> great. It seems to take a bit more time to load, but it is still very
> usable.
>
> Now for questions. That KMZ file has several layers, can I adjust the
> transparency of those layers, such as in google earth?
The API includes functions to iterate through layers, but as as been
unable to get this to get thought NetworkLinks (ie can get to the Link
itself, but not its contents)
If you can get the KMLObject that presents the layer then you can
manipulate it to change the transaprency.
>
> Side note for other users Network Links do not work will local files
> "file:///" so you need to run a little lamp server to get things to
> run locally with network links.
>
> Can anyone think of a way to secure kmz/kml files from being
> downloaded whilst using the api??
You can make it hard, but you can never totally secure it. The best
bet is probably to encode your javascipt and use some sort of
encryption to transfer the url of the remote file. Of course they will
still be able to get round it with bookmarklets, things like Firebug
or network sniffing.
>
> Jay