Test environment: Terraexplorer Pro 6.6;
<!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Head> <title></title> <Scripttype= "Text/javascript"language= "JavaScript"> functionloadmpt () {Try { varSG=createsgobj (); varElevationlayer=sg. Creator.createelevationlayer ("Sample. MPT", 0.0, 0.0, 0.0, 0.0, "<ext><extinfo><! [Cdata[<skyline version=\ "1.0.0\" ><serverlist name=\ "sample. Mpt\ "><server priority=\" 1\ ">192.168.9.97:8088$</SERVER></SERVERLIST></SKYLINE>] ></ExtInfo><ExtType>mpt</ExtType></EXT>", "MPTPLG.RCT"); Elevationlayer.elevationscale= -; } Catch(e) {alert (e); } } /*function: Create Sgworld object remarks: Zhao he 2015.04.01. */ functioncreatesgobj () {varobj= $("Sgworld"); if(obj== NULL) {obj=Document.createelement ('Object'); Document.body.appendChild (obj); Obj.name= "Sgworld"; Obj.id= "Sgworld"; Obj.classid= "clsid:3a4f9199-65a8-11d5-85c1-0001023952c1"; } returnobj; } function$ (ID) {returnwindow.document.getElementById (ID); } </Script></Head><Body> <inputID= "Button1"type= "button"value= "button"onclick= "loadmpt ()" /> <ObjectID= "Te3dwindow"ClassID= "CLSID:3A4F9192-65A8-11D5-85C1-0001023952C1"width= "1000px"Height= "600px"> </Object> <ObjectID= "Terraexplorerinformationwindow"ClassID= "CLSID:3A4F9193-65A8-11D5-85C1-0001023952C1"width= "200px"Height= "600px"> </Object></Body></HTML>
How the Skylineglobe API imports the MPT terrain as a layer