1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <title>OpenLayers WorldWind Example</title>
4 <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
5 <link rel="stylesheet" href="style.css" type="text/css" />
6 <script src="../lib/OpenLayers.js"></script>
7 <script type="text/javascript">
10 var mapOptions = { maxResolution: 1.6, numZoomLevels: 21};
11 map = new OpenLayers.Map('map', mapOptions);
13 var ww = new OpenLayers.Layer.WorldWind( "Urban",
14 "http://worldwind25.arc.nasa.gov/tile/tile.aspx?", .8, 9,
15 {T:"104"}, { tileSize: new OpenLayers.Size(512,512) });
19 map.addControl(new OpenLayers.Control.LayerSwitcher());
20 map.setCenter(new OpenLayers.LonLat(-71.446875, 41.73515625), 15);
24 <body onload="init()">
25 <h1 id="title">WorldWind Example</h1>
30 Demonstrate the use of a NASA WorldWind base layer.
33 <div id="map" class="smallmap"></div>
37 Add the Nasa WorldWind "Urban" layer to your map. The "Urban" layer contains aerial imagery for urban areas only.
40 You can do it with a ...