Creating an HTML Client Application
This sample demonstrates how to initialize SGWorld and create a basic HTML to which to add the TerraExplorer COM using JavaScript. This example uses the IProject74 (Open) interface.
<html>
<body onload = "Init();">
<object id="sgworld" classid="CLSID:3A4F919F-65A8-11D5-85C1-0001023952C1" style="visibility:hidden;height:0 "></object>
<script language="javascript" >
function Init()
{
sgworld.Project.Open("http://www.skylineglobe.com/SkylineGlobeLayers/SG_ExternalFlys/skylineglobe7.fly");
}
</script>
</body>
</html>