2 Star 0 Fork 1

sakitam-fdd/indoor3D

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
wolfwind521 提交于 2015-11-09 18:35 . snapshot related functions
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0 user-scalable=no">
<title></title>
</head>
<body>
<script src="js/three.min.js"></script>
<script src="js/Detector.js"></script>
<script src="js/OrbitControls.js"></script>
<script src="js/IndoorMap.js"></script>
<script src="js/Projector.js"></script>
<script src="js/stats.min.js"></script>
<script src="js/IndoorMap2d.js"></script>
<script src="js/IndoorMap3d.js"></script>
<script src="js/Theme.js"></script>
<link href="css/indoor3D.css" rel="stylesheet">
<div id="indoor3d" style="width: 800px; height: 500px; top:0px; left: 0px; position: absolute"></div>
<script>
var params = {
mapDiv:"indoor3d",
dim:"2d"
}
var map = IndoorMap(params);
map.load('data/testMapData.json', function(){
//map.setTheme(testTheme);
map.showAreaNames(true).setSelectable(true);
var ul = IndoorMap.getUI(map);
document.body.appendChild(ul);
});
</script>
<!-- buttons just for test-->
<div class="testButton">
<ul >
<li onclick="map.zoomIn(1.2)">+</li>
<li onclick="map.zoomOut(0.8)">-</li>
<!--<li onclick="map.setTopView()">Top View</li>-->
<li onclick="map.setDefaultView()">Default View</li>
</ul>
</div>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sakitam-fdd/indoor3D.git
git@gitee.com:sakitam-fdd/indoor3D.git
sakitam-fdd
indoor3D
indoor3D
master

搜索帮助