function initCallback(object)
some examples call thisfunction initCB(object)
// Managing Buildings Terrain, Roads, and Boundaries
// http://code.google.com/apis/earth/documentation/advanced.html
ge.getLayerRoot().enableLayerById(ge.LAYER_BORDERS, true);
ge.getLayerRoot().enableLayerById(ge.LAYER_BUILDINGS, true);
ge.getLayerRoot().enableLayerById(ge.LAYER_ROADS, true);
ge.getLayerRoot().enableLayerById(ge.LAYER_TERRAIN, true);
function initCallback(object)
some examples call thisfunction initCB(object)
// fetch/load kml file into Google Earth plugin
// copied from Barry Hunter, see
// http://groups.google.com/group/Google-Maps-API/browse_thread/thread/1c5b3cc2f6cf187c
var networkLink = ge.createNetworkLink("");
networkLink.setDescription("NetworkLink open to fetched content");
networkLink.setName("Open NetworkLink");
//
// zoom to the extents of the KML file
networkLink.setFlyToView(true);
var link = ge.createLink("");
// link.setHref("http://faculty.unlv.edu/jensen/kml/ExampleURL.kml");
link.setHref("http://complabs.nevada.edu/~Jeff%20Jensen/sclcity_p.kmz");
networkLink.setLink(link);
ge.getGlobe().getFeatures().appendChild(networkLink);
function initCallback(object)
some examples call thisfunction initCB(object)
// Managing Buildings Terrain, Roads, and Boundaries
// http://code.google.com/apis/earth/documentation/advanced.html
ge.getLayerRoot().enableLayerById(ge.LAYER_BORDERS, true);
ge.getLayerRoot().enableLayerById(ge.LAYER_BUILDINGS, true);
ge.getLayerRoot().enableLayerById(ge.LAYER_ROADS, true);
ge.getLayerRoot().enableLayerById(ge.LAYER_TERRAIN, true);
function initCallback(object)
some examples call thisfunction initCB(object)
// fetch/load kml file into Google Earth plugin
// copied from Barry Hunter, see
// http://groups.google.com/group/Google-Maps-API/browse_thread/thread/1c5b3cc2f6cf187c
var networkLink = ge.createNetworkLink("");
networkLink.setDescription("NetworkLink open to fetched content");
networkLink.setName("Open NetworkLink");
//
// zoom to the extents of the KML file
networkLink.setFlyToView(true);
var link = ge.createLink("");
// link.setHref("http://faculty.unlv.edu/jensen/kml/ExampleURL.kml");
link.setHref("http://complabs.nevada.edu/~Jeff%20Jensen/sclcity_p.kmz");
networkLink.setLink(link);
ge.getGlobe().getFeatures().appendChild(networkLink);