<div>Matt,</div><div><br></div>For using the World Wind WMS layers you referenced this is what you would add to your map assuming that you are using the default projection for OpenLayers (EPSG:4326)<div><br></div><div><div>
<span class="Apple-tab-span" style="white-space:pre">                                </span>var nasa = new OpenLayers.Layer.WMS(&quot;NASA WMS Service&quot;,</div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>&quot;<a href="http://onearth.jpl.nasa.gov/wms.cgi">http://onearth.jpl.nasa.gov/wms.cgi</a>?&quot;,</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span>layers: &#39;global_mosaic&#39;</div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span>, styles: &#39;visual&#39;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span>},</div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span>tileSize: new OpenLayers.Size(512,512)</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>);</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>map.addLayer(nasa);</div>
<div><br></div><div>In the link you posted go to the &quot;<span class="Apple-style-span" style="font-family: Arial; font-size: 11px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://onearth.jpl.nasa.gov/wms.cgi?request=GetTileService" style="text-decoration: none; ">GetTileService</a>&quot; </span>When you view the XML take note of the comments in the TilePattern tags. For example:</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; color: rgb(35, 110, 37); white-space: pre-wrap; ">request=GetMap&amp;layers=daily_afternoon&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90</span></div>
<div><font class="Apple-style-span" color="#236E25" face="monospace" size="3"><span class="Apple-style-span" style="white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" color="#236E25" face="monospace" size="3"><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; white-space: normal; font-size: small; ">In the above example you would take layers=daily_afternoon and use the daily_afternoon as your layers in the OpenLayers definition. Styles is not necessary unless you are looking for a specific theme. If so look in the above example string again and you will see styles=visual, visual is what you would specify in the styles definition for OpenLayers. Be sure you use the tileSize definition that matches the width and height from the TilePattern string.</span></span></font></div>
<div><font class="Apple-style-span" color="#236E25" face="monospace" size="3"><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; white-space: normal; font-size: small; "><br>
</span></span></font></div><div><font class="Apple-style-span" color="#236E25" face="monospace" size="3"><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; white-space: normal; font-size: small; "><br>
</span></span></font></div><div><font class="Apple-style-span" color="#236E25" face="monospace" size="3"><span class="Apple-style-span" style="white-space: pre-wrap;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; white-space: normal; font-size: small; ">The WorldWind example you reference is accessing the remote WorldWind server for the tiles. It is not intended for accessing a copy of the data that you downloaded.</span></span></font></div>
--<br>Nathan Gerber<br>
<br><br><div class="gmail_quote">On Mon, Nov 15, 2010 at 4:33 PM,  <span dir="ltr">&lt;<a href="mailto:maw269@gmail.com">maw269@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have 2 questions:
<br>1. Is it possible to show World Wind WMS Layers from OpenLayers as in <a href="http://onearth.jpl.nasa.gov/tiled.html" target="_blank">http://onearth.jpl.nasa.gov/tiled.html</a>?
<br>I can hit their wms from my browser: 
<br><a href="http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&amp;layers=global_mosaic&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90" target="_blank">http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&amp;layers=global_mosaic&amp;srs=EPSG:4326&amp;format=image/jpeg&amp;styles=visual&amp;width=512&amp;height=512&amp;bbox=-180,-166,76,90</a>
<br>but can&#39;t seem to connect to it using any of the openlayers.layer.classes.
<br>
<br>2. I also downloaded the NLT Landsat 7 Visible Color-Level 0 cache pack from <a href="http://www.worldwinddata.com/" target="_blank">http://www.worldwinddata.com/</a>
<br>How do I use OpenLayers.Layer.WorldWind to show that layer? I looked at <a href="http://openlayers.org/dev/examples/worldwind.html" target="_blank">http://openlayers.org/dev/examples/worldwind.html</a> but was even more confused after looking at that page&#39;s source.
<br>The cache pack uzipped to my harddrive as a folder entitled &#39;0&#39;; subfolders entitled &#39;0015&#39; through &#39;0075&#39;; and then images such as &#39;0015_0046.jpg&#39;
<br>Thanks,
<br>Matt<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br></blockquote></div><br></div>