使用产品:SuperMap iClient3D 11i(2023) for WebGL 11.1.0 操作系统:win10 x64 数据:官网CBD三维数据 问题描述,使用官网培训给的示例代码运行后成果再浏览器只有一个300*150的结果,是示例代码问题还是? 代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>helloWorld</title>
<link rel="stylesheet" href="../webgl/css/pretty.css">
<script type="text/javascript" src="../webgl/js/jquery.min.js"></script>
<script type="text/javascript" src="../../Build/SuperMap3D/SuperMap3D.js"></script>
</head>
<body>
<div id="Container"></div>
<script type="text/javascript">
function onload(SuperMap3D) {
var viewer = new SuperMap3D.Viewer('Container');
var scene = viewer.scene;
var url_Scene="http://localhost:8090/iserver/services/3D-CBD/rest/realspace";
var promise = scene.open(url_Scene);
}
onload(SuperMap3D);
</script>
</body>
</html>
helloWorld成果: