Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="https://worldwindserver.net/webworldwind/worldwindlib.js"></script>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<div style="position: absolute; top: 50px; left: 50px;">
  <!-- Create a canvas for Web World Wind. -->
  <canvas id="canvasOne" width="512" height="512">
    Your browser does not support HTML5 Canvas.
  </canvas>
</div>
</body>
</html>
 
$(document).ready(function() {
  // Create a World Window for the canvas.
  var wwd = new WorldWind.WorldWindow("canvasOne");
  // Add some image layers to the World Window's globe.
  wwd.addLayer(new WorldWind.BMNGOneImageLayer());
  wwd.addLayer(new WorldWind.BingAerialWithLabelsLayer());
  // Add a compass, a coordinates display and some view controls to the World Window.
  wwd.addLayer(new WorldWind.CompassLayer());
  wwd.addLayer(new WorldWind.CoordinatesDisplayLayer(wwd));
  wwd.addLayer(new WorldWind.ViewControlsLayer(wwd));
});
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers