My favorites | English | Sign in

Faster apps faster - GWT 2.0 with Speed Tracer New!

Google Earth API

KmlLayerRoot Interface Reference

Inheritance diagram for KmlLayerRoot:

KmlFolder KmlContainer KmlFeature KmlObject GEEventEmitter

List of all members.


Public Member Functions

KmlFolder getLayerById (string id)
void enableLayerById (string id, bool visibility)

Detailed Description

A container for the various layers displayed with the Google Earth Plug-in. It contains the same layers as Google Earth.

Member Function Documentation

KmlFolder KmlLayerRoot.getLayerById ( string  id  ) 

Returns the layer based on the layer's ID.

void KmlLayerRoot.enableLayerById ( string  id,
bool  visibility 
)

Enables a layer based on its ID.

Parameters:
id ID of layer. See the GEPlugin object reference for possible values.
visibility Specifies whether the feature is drawn in the 3D viewer when it is initially loaded. In order for a feature to be visible, visibility must also be set to 1.