I am working on a KMZ for Google Earth that needs to display a
corporate logo via a ScreenOverlay element. Unfortunately (for my
purposes) the user can turn off the ScreenOverlay from the checkbox in
the Sidebar.
Is there any way to either a) 'lock' the checkbox so the ScreenOverlay
cannot be hidden, or (preferably) b) prevent the ScreenOverlay from
showing in the Sidebar at all.
Thanks!
Thanks for your response. I had already implemented the
'checkHideChildren' folder style, and while it works it is an
inelegant and incomplete solution. I was hoping I had missed
something.
Thanks!
On Mar 25, 4:27 pm, Maarten L wrote:
> I don't think there is a way to lock the visibility of a screenoverlay
> or any other element. What you could do is to include the
> screenoverlay in a folder with other content unlikely to be hidden by
> the user and use <ListStyle> and <checkHideChildren> to prevent the
> content of the folder to be visible in the sidebar. See here:http://code.google.com/apis/kml/documentation/kmlreference.html#lists...