Google Earth Plugin - Display Options
Status Bar
Navigation Control
Grid
Overview Map
Scale Legend
Atmosphere
Mouse Navigation
Find Your Coins with GoogleCoins!
addSampleUIHtml( '
Navigation Control Visibility
' + '' + '' + '' ); addSampleUIHtml( '
Position
' + '' + '
' + '' + '' ); } function initCallback(instance) { ge = instance; ge.getWindow().setVisibility(true); // add a navigation control ge.getNavigationControl().setVisibility(ge.VISIBILITY_AUTO); // add some layers ge.getLayerRoot().enableLayerById(ge.LAYER_BORDERS, true); ge.getLayerRoot().enableLayerById(ge.LAYER_ROADS, true); document.getElementById('installed-plugin-version').innerHTML = ge.getPluginVersion().toString(); } function failureCallback(errorCode) { } // visibility function visShow() { ge.getNavigationControl().setVisibility(ge.VISIBILITY_SHOW); } function visAuto() { ge.getNavigationControl().setVisibility(ge.VISIBILITY_AUTO); } function visHide() { ge.getNavigationControl().setVisibility(ge.VISIBILITY_HIDE); } // position function posTopLeft() { ge.getNavigationControl().getScreenXY().setXUnits(ge.UNITS_PIXELS); ge.getNavigationControl().getScreenXY().setYUnits(ge.UNITS_INSET_PIXELS); } function posTopRight() { ge.getNavigationControl().getScreenXY().setXUnits(ge.UNITS_INSET_PIXELS); ge.getNavigationControl().getScreenXY().setYUnits(ge.UNITS_INSET_PIXELS); } function posBottomLeft() { ge.getNavigationControl().getScreenXY().setXUnits(ge.UNITS_PIXELS); ge.getNavigationControl().getScreenXY().setYUnits(ge.UNITS_PIXELS); } function posBottomRight() { ge.getNavigationControl().getScreenXY().setXUnits(ge.UNITS_INSET_PIXELS); ge.getNavigationControl().getScreenXY().setYUnits(ge.UNITS_PIXELS); }
?