I'm trying to intwegrate WebGL but when i run the same in browser i'm getting this error:
<!DOCTYPE HTML>
<html>
<head>
<script src="http://www.webglearth.com/v2/api.js"></script>
<script>
function initialize() {
var options = {
sky: true,
atmosphere: true,
zooming: true
};
var earth = new WE.map('earth_div',options);
WE.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
}).addTo(earth);
}
</script>
<style>
html, body{padding: 0; margin: 0;}
#earth_div{top: 0; right: 0; bottom: 0; left: 0; position: absolute !important;}
</style>
<title>WebGL Earth API: Hello World</title>
</head>
<body onload="initialize()">
<div id="earth_div"></div>
</body>
</html>
I'm trying to intwegrate WebGL but when i run the same in browser i'm getting this error: