<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>CmWorld3 Sample</title>
<style>
html, body {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#cmworld3Canvas {
width: 100%;
height: 100%;
float:left;
display:block;
}
</style>
<script src="./Cm3WebGL/lib/jquery-2.2.0.min.js"></script>
<script src="./Cm3WebGL/cm_compile.js"></script>
<script>
CMWORLD.Compile.includeCm3Library("./Cm3WebGL/");
</script>
<script>
var cmworld3Viewer = null;
window.onload = function () {
var cmworld3Canvas = document.querySelector("#cmworld3Canvas");
// canvas 지정, 시작 위치 지정
cmworld3Viewer = new CMWORLD.CmWorld3(cmworld3Canvas, 127, 37, CMWORLD.cm_const.EarthRadius * 2 );
};
</script>
</head>
<body>
<iframe width="300" height="300" src="./map_cmworld.html" name="map01" id="map01" frameborder="0" scrolling="no" align="left"> </iframe>
<iframe width="300" height="300" src="./map_vworld.html" name="map02" id="map02" frameborder="0" scrolling="no" align="left"> </iframe>
<canvas id="cmworld3Canvas"> cmworld3Canvas </canvas>
</body>
</html>